Skip to main content
Glama

search_location

Converts place names, addresses, or landmarks into latitude and longitude coordinates for weather queries.

Instructions

Geocode a place name to latitude/longitude coordinates. Use this to convert city names, addresses, or landmarks into coordinates for weather queries.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPlace name, city, or address to geocode (e.g. "New York", "Tokyo, Japan", "1600 Pennsylvania Ave")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the core transformation (a name becomes coordinates), which is the key contract, but it says nothing about ambiguous or failed matches, whether one or several results are returned, or any rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the action and output front-loaded before the usage note. Nothing is repeated or padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter lookup with full schema coverage and no output schema, the description covers purpose, input, and the shape of the result. The only shortfall is the absence of guidance on ambiguous place names or no-match outcomes, a minor gap at this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is only one parameter and schema description coverage is 100%, with the schema itself providing examples like 'New York' and 'Tokyo, Japan'. The description restates the same input classes (city names, addresses, landmarks) without adding format or disambiguation guidance, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb and resource: 'Geocode a place name to latitude/longitude coordinates.' It states both the input class and the exact output, and no sibling tool (weather, billing, API-key management) does geocoding, so the agent can distinguish it immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence gives an explicit use case: converting city names, addresses, or landmarks into coordinates 'for weather queries,' which ties it to the weather siblings as a preparatory step. It lacks an explicit exclusion (e.g., what to do if you already have coordinates), but the context for use is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.