Skip to main content
Glama

geocode

Convert Indian addresses and place names to latitude/longitude coordinates. Supports full addresses, landmarks, cities, and pincodes.

Instructions

Convert an Indian address or place name into latitude/longitude coordinates. Works with full addresses, landmarks, cities, and pincodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesFull address or place name (e.g. 'India Gate, New Delhi' or '110001')
itemCountNoMax results to return (default 5)
Behavior3/5

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

Without annotations, the description partially discloses behavior by specifying Indian address focus. However, it omits details like authentication, rate limits, precision, or error handling, which are important for an agent to invoke correctly.

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?

A single sentence conveys purpose and supported input types efficiently. No extraneous information, every word adds value.

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?

Given the simple tool (2 params, no nested objects, no output schema), the description is largely complete. It could explicitly state the return format (lat/lng) and briefly mention when to prefer sibling tools, but it's nearly sufficient.

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?

Schema description coverage is 100%, so the schema already explains both parameters. The description adds no additional semantics beyond mentioning pincodes, which is covered by the address parameter description.

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 explicitly states the tool converts Indian addresses/place names into coordinates, listing supported input types (full addresses, landmarks, cities, pincodes). This clearly differentiates it from siblings like reverse_geocode or autosuggest.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus siblings. For example, it doesn't mention that autosuggest is for incomplete addresses or text_search for general queries. The description only implies usage for geocoding.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AmanMakesStuff/mappls-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server