Skip to main content
Glama

Synmerco

Get seller token

get_seller_token

After request_seller_link: ask whether your person approved. Returns authorization_pending until they do, then your access_token (valid 1 hour) and refresh_token. Pass access_token as seller_token to sell_item and my_items.

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": {
      "device_code": "<device_code>",
      "client_id": "<client_id>"
    },
    "name": "get_seller_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
client_idYes
device_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Adds real behavior beyond the annotations: a stateful authorization_pending response, a 1-hour token lifetime, and a refresh_token returned alongside the access token. The annotations (readOnlyHint=false, idempotentHint=false) already flag that this is a non-idempotent, state-changing call, and the description is consistent with that. It does not disclose failure modes (expired device code, denial) or polling cadence.

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

Conciseness5/5

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

Three short sentences, front-loaded with the prerequisite and the pending/approved outcome, followed by token lifetime and where to pass the result. No filler.

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

Completeness4/5

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

With no output schema, the description correctly carries the return-value burden: it names authorization_pending, access_token, refresh_token and the 1-hour validity. The remaining gap is the undocumented input parameters and unspecified poll/expiry handling.

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 description coverage is 0% and the description never mentions device_code or client_id. The phrase 'After request_seller_link' weakly implies the device_code originated there, but neither parameter is named, sourced, or characterized, so an agent must infer both inputs.

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 action and resource: it resolves a pending authorization into an access_token and refresh_token after request_seller_link. An agent can distinguish it from the sibling request_seller_link (which initiates) without opening either schema.

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?

Explicit sequencing: 'After request_seller_link' establishes the prerequisite, and 'ask whether your person approved' tells the agent when to call and what to do before calling. It also names the two downstream consumers (sell_item, my_items). It stops short of saying how often to poll or when to give up if approval never arrives.

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