MCP Tools Reference: mapscodeassist.googleapis.com

Tool: retrieve-instructions

CRITICAL: Call this tool first for any queries related to location, mapping, addresses, routing, points of interest, location analytics, or geospatial data (e.g., Google Earth). It provides the foundational context on Google Maps Platform (APIs for maps, routes, and places) and best practices that are essential for the other tools to function correctly. This tool MUST be called before any other tool.

The following sample demonstrate how to use curl to invoke the retrieve-instructions MCP tool.

Input Schema

Request message for GetInstructions.

GetInstructionsRequest

JSON representation
{
  "name": string
}
Fields
name

string

Required. The name of the instructions resource to retrieve. Format: instructions

Output Schema

The singleton resource containing instructions for the AI agent.

Instructions

JSON representation
{
  "name": string,
  "systemInstructions": [
    string
  ]
}
Fields
name

string

Identifier. The resource name. For this it will always be "instructions".

systemInstructions[]

string

Output only. System instructions for the LLM.

Tool Annotations

Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌