Skip to main content
Glama

decode_plus_code

Decode a Google Plus Code into coordinates. ($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": {
      "plus_code": "<plus_code>"
    },
    "name": "decode_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.
plus_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden, and it discloses only the price ('$2.00'). It says nothing about the x402/MPP payment flow, the payment_required challenge, whether the operation is a side-effect-free lookup, or what precision/format the decoded coordinates come back in.

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?

Two short clauses, purpose front-loaded before the price tag; nothing is wasted or buried. The price in parentheses is compact and useful rather than padding.

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

Completeness3/5

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

For a two-parameter tool with no output schema and no annotations, the description is minimal but the core action is unambiguous. It is missing the return shape and the input-format nuance for plus_code, which an agent needs to call it correctly on the first try.

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 50%: 'payment' is documented in the schema but 'plus_code' has no description anywhere. The description does not compensate by explaining accepted Plus Code forms (full global vs. compound/shortened codes) or whether a locality hint is required — the single most important semantic for a decoder.

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 ('Decode') and resource ('Google Plus Code') with the output ('coordinates') named, which cleanly separates it from the encode_plus_code sibling in the same family. It stops short of explicitly naming the inverse tool as the alternative, so it is clear but not fully differentiated in text.

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

Usage Guidelines3/5

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

Usage is only implied: an agent holding a Plus Code and wanting coordinates can infer this is the right tool. There is no explicit when-to-use statement, no mention of when not to use it (e.g. partial/compound codes needing a reference locality), and no named alternative.

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