Skip to main content
Glama

token_scopes

Read-only

Verifies which scopes a provided token has so you can confirm access before calling protected Etsy API endpoints.

Instructions

Check the scopes of the provided token

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": {
      "token": "<token>"
    },
    "name": "token_scopes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether the token is an OAuth2 access token, what is returned (scope names? a validation boolean?), or how failures surface — for a tool whose whole job is introspection, that is a meaningful gap.

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

Conciseness2/5

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

The majority of the description is scraped portal HTML — badge divs, a bug-report link, and a production-readiness banner — that carries zero invocation value. The actual payload is a single six-word sentence, so structure is poor and signal-to-noise is very low.

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?

With no output schema and no parameter documentation, the description is the only source of truth, and it omits both the return shape and token format. For a trivial one-parameter read tool the bar is low, but the essentials an agent needs to call it correctly are still missing.

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%, so the description must carry the parameter burden and it does not. 'Provided token' gives no indication of the expected format (raw access token string vs. bearer prefix), provenance, or validity constraints on the single required 'token' field.

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

Purpose3/5

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

The one substantive sentence, 'Check the scopes of the provided token', does name a verb and resource, but 'check' is ambiguous between returning the scope list and validating the token. The statement is also buried under two blocks of copied HTML release-banner markup, which dilutes first-read comprehension.

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?

There is no guidance on when to call this versus anything else, no prerequisites (e.g. that the caller needs an OAuth2 access token), and no note about what an invalid or expired token yields. The agent gets no usage context at all.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools