Skip to main content
Glama

encode_plus_code

Encode coordinates into a Google Plus Code. ($2.00)

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "encode_plus_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional payment: x402 base64 payment payload, or MPP voucher (mpp.v1...). Without it, the tool returns a payment_required challenge.
latitudeYes
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses cost ($2.00), which is useful, but says nothing about the payment-required challenge behavior, precision/format of the returned code, or error cases — the payment flow only surfaces in the schema.

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?

A single short sentence, front-loaded with the action and resource. The price parenthetical is compact and informative; nothing is padded, though the sentence is arguably under-specified rather than concise.

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

Completeness2/5

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

For a paid tool with a non-trivial x402/MPP payment flow and no output schema, the description omits how payment works and what is returned. An agent would have to open the schema to learn the request would otherwise fail with a payment_required challenge.

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

Parameters2/5

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

Schema coverage is 33%: payment is documented in the schema, but latitude and longitude have no descriptions anywhere. The description does not compensate — it never states coordinate format, valid ranges, or coordinate order.

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

Purpose4/5

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

States a specific verb and resource: 'Encode coordinates into a Google Plus Code.' The agent can tell it converts lat/lng to a Plus Code. Sibling differentiation (vs decode_plus_code) is implied by 'encode' but never stated explicitly.

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 when-to-use guidance, no mention of when to prefer this over decode_plus_code or geocode_uk_postcode, and no note on input constraints. The only extra context is a price tag.

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