Skip to main content
Glama

独行录 / opcmenu

吊销我的接入设备

revoke_my_device
Idempotent

登录;list_my_devices取deviceId吊销本人设备,token立即失效;revoked示是否实际吊销。

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": {
      "deviceId": "<deviceId>"
    },
    "name": "revoke_my_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdYes设备 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply idempotentHint, so the description carries the behavioral burden and does so: token invalidation is immediate, and the response field 'revoked' reports whether the revocation actually took effect (i.e. partial success is possible). Missing are permission requirements and what happens to an already-revoked device, but the core effect and outcome semantics are disclosed.

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

Conciseness3/5

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

No filler, and the effect and return semantics are front-loaded. However, the semicolon-chained telegraphic fragments (missing subjects, 'revoked示') make it denser and less readable than plain sentences of the same length.

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?

For a one-parameter mutation with no output schema, the description covers the prerequisite, parameter sourcing, immediate effect, and the meaning of the returned 'revoked' flag. Only authorization details and already-revoked behavior are absent, which is a minor gap.

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

Parameters4/5

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

Schema coverage is 100% with a single required deviceId, so the baseline would be 3. The description adds real value by telling the agent where to obtain the deviceId (list_my_devices), closing the only practical ambiguity in the parameter.

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?

Uses a specific verb+resource pair (revoke / my device) and states the exact effect: the device's token is invalidated immediately. It never contrasts with sibling revoke_* tools, but the resource is unambiguous enough that an agent can identify the operation.

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?

Gives a concrete prerequisite (login) and an explicit workflow: fetch the deviceId from list_my_devices before calling. It does not state when not to use this versus other revocation tools or what happens if the deviceId is stale, but the positive guidance is strong.

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