Skip to main content
Glama

FMF Tools Compat APIs

mapbox_geocode_forward

Forward geocoding, city-level (Mapbox-compatible) ($0.001 per call, paid via MPP on Tempo). Mapbox Geocoding v6-shaped FeatureCollection for place names (q, country, limit). City/town level from GeoNames (CC BY 4.0), not street addresses. "Mapbox via Locus" lists $0.00375. HTTP POST https://mpp-compat.fmf-x402.workers.dev/mapbox/geocode-forward. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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

Input Schema

NameRequiredDescriptionDefault
qYesPlace name
limitNo1-10 (default 5)
countryNoISO alpha-2 code (first one used)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the $0.001 per-call cost, that payment is settled via MPP on Tempo, that this MCP wrapper does not settle payment by itself, the required auth header, the backing data source and license (GeoNames, CC BY 4.0), and the granularity limit. These are exactly the behavioral facts an agent needs before invoking a paid endpoint.

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

Conciseness4/5

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

The core purpose is front-loaded in the first clause, followed by cost, output shape, data source, and endpoint details. It is dense but nearly every clause carries operational value; the price-comparison aside ('Mapbox via Locus lists $0.00375') is the one element that borders on noise.

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

Completeness5/5

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

For a paid, externally proxied geocoder with no output schema and no annotations, the description covers everything material: cost, payment flow, auth requirement, endpoint, response shape, data provenance, and result granularity. Nothing needed to call it correctly is missing.

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 coverage is 100%, so q, limit, and country are already documented with types and defaults. The description only restates the parameter names and adds that results are city-level; it adds no format or edge-case meaning beyond the schema, so the baseline of 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?

States a specific verb and resource ('Forward geocoding, city-level') and immediately bounds the scope with 'not street addresses', so an agent knows exactly what class of result to expect. It also names the response shape (Mapbox Geocoding v6-shaped FeatureCollection), which further pins down what the tool produces.

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?

Gives clear selection context: use for place names at city/town level, not street addresses, and it must be called with an MPP Payment Authorization header or via mppx against the HTTP route. It even notes a cheaper alternative is listed at $0.00375, aiding provider choice. It stops short of explicitly naming mapbox_geocode_reverse or the openweather geocoders as the alternative for coordinate lookup.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources