Skip to main content
Glama

GhostKey — Route Paid APIs with x402

GhostKey Device Pairing Status

ghostkey_device_pairing_status
Read-onlyIdempotent

Resolve a one-time trusted-device pairing after the browser has enrolled. Requires the original pairing ID and pairing code and is available only until that pairing capability expires.

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": {
      "pairing_id": "<pairing_id>",
      "pairing_code": "<pairing_code>"
    },
    "name": "ghostkey_device_pairing_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairing_idYesPairing identifier (UUID) returned by ghostkey_device_pairing_create for the one-time enrollment capability to resolve.
pairing_codeYesOne-time pairing code issued together with the pairing_id; required with it and valid only until the pairing capability expires.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / pairing_code / description
      Added value: +"One-time pairing code issued together with the pairing_id; required with it and valid only until the pairing capability expires."
    • addedInput schema / properties / pairing_id / description
      Added value: +"Pairing identifier (UUID) returned by ghostkey_device_pairing_create for the one-time enrollment capability to resolve."
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description usefully adds the one-time/expiry window that bounds validity, but says nothing about what happens on an expired or already-consumed pairing, nor what the call yields — relevant for a tool whose name implies a status result.

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 sentences, front-loaded with the action and followed by the constraints; nothing is padded. The second sentence partly restates required parameters already encoded in the schema, which costs a little efficiency but reinforces the prerequisite before the expiry caveat.

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?

There is no output schema, so the description carries the burden of describing what comes back, and it never says what a resolved pairing status contains or how failures (expired capability, mismatched code) surface. It is adequate for invocation but incomplete for interpreting results of a two-parameter, no-output-schema tool.

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%; both pairing_id and pairing_code are documented in the schema, including that the ID comes from ghostkey_device_pairing_create and that the code is one-time and expiry-bound. The description only restates that both are required, adding no syntax, format, or matching detail beyond the schema, so baseline 3 applies.

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?

The description gives a specific verb and resource ('Resolve a one-time trusted-device pairing') plus a precondition ('after the browser has enrolled'), which distinguishes it from ghostkey_device_pairing_create. However, the tool name says 'status' while the description says 'Resolve', leaving it slightly ambiguous whether this reads back state or finalizes the enrollment, and no sibling is named explicitly.

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?

It clearly states the timing condition (after browser enrollment) and a hard window ('only until that pairing capability expires'), which tells an agent when the call is valid. It does not explicitly say what to do instead if the capability has expired (e.g. re-invoke ghostkey_device_pairing_create), so it stops short of full alternative routing.

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