Skip to main content
Glama

resolve_location

Read-onlyIdempotent

Converts a place name into latitude/longitude and a bounding box for defining an area of interest in satellite scene searches. Returns not found when the location cannot be resolved.

Instructions

Resolve a place name to a centroid and bounding box.

Turns a place like "Shillong" or "Loktak Lake" into latitude/longitude and a bounding box (minx, miny, maxx, maxy) that search_scenes can use as its area of interest. Returns found=False when the place can't be resolved.

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": {
      "name": "<name>"
    },
    "name": "resolve_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the description's remaining burden is low. It usefully adds failure semantics ("Returns found=False when the place can't be resolved"), which is real value beyond the annotations, but says nothing about ambiguity handling, rate limits, or network-service caveats that openWorldHint implies. With annotations carrying the safety profile, a 3 is appropriate.

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?

Three short sentences, front-loaded with the action, then the concrete output format, then the failure case. No restated name or filler, and each sentence adds distinct information.

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?

There is no output schema, and the description compensates by naming the return shape (lat/lon centroid plus minx, miny, maxx, maxy) and the found flag, which is what an agent needs to chain into search_scenes. Minor gaps remain on coordinate reference system and how ambiguous or partial names are treated.

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

Parameters4/5

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

Schema coverage is 0% and the single parameter has no description, so the definition must carry the meaning itself. It does so by giving two concrete name examples ("Shillong", "Loktak Lake"), which conveys that free-form place strings are accepted, though it never states expected formats or whether ambiguous names resolve arbitrarily.

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?

States a specific verb and resource ("Resolve a place name to a centroid and bounding box") and immediately clarifies what a 'place' is with concrete examples plus the exact bbox tuple returned. It also names its consumer, search_scenes, which separates it from every sibling in the list.

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 description clearly establishes the upstream role: it produces an area of interest that search_scenes consumes, which tells an agent when to call it. It stops short of explicit exclusions or stating what to do if the caller already has coordinates, so it does not reach the top band.

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