MCP Shipyard
← Rules catalog

ChatGPT asks MCP tools not to request precise location

Parameters named latitude, longitude or gps warn on ChatGPT. Use a city or region name unless the tool cannot work without coordinates.

minorschema.precise-locationChatGPT

Use city or region names instead of raw coordinates unless the tool cannot work without them. The rule schema.precise-location is a minor, warn-level finding for ChatGPT.

What you see

  • A scan reports schema.precise-location: Location parameters: lat, lng.
  • The check matches parameter names lat, lng, lon, latitude, longitude, gps, coordinates and precise_location.

Why it happens

A store locator or delivery estimate tool takes coordinates because the API does. The rule's fix text cites ChatGPT 6.4: do not request precise location.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
 | jq -r '.result.tools[] | . as $t | (.inputSchema.properties // {}) | keys[] | select(test("^(lat|lng|lon|latitude|longitude|gps|coordinates|precise[_-]?location)$"; "i")) | "\($t.name).\(.)"'

Fix

  • Before: lat and lng for estimate_delivery.
  • After: one postal_code or city parameter (for example "Springfield"), geocoded on your side.

Verify

The command prints nothing, then re-scan.

Which clients care

ChatGPT, per the rule.

Source

OpenAI plugin guidelines: https://developers.openai.com/plugins/plugin-guidelines

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server