Skip to main content
Glama
OnlyDNS MCP Server

OnlyDNS MCP Server

Official
by Onlydns

delete_token

Revoke or deactivate an API access token using its token ID.

Instructions

Revoke / deactivate an API access 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": {
      "tokenId": "<tokenId>"
    },
    "name": "delete_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenIdYesToken ID to revoke

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.7

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not say whether revocation is permanent or reversible, whether clients using the token are immediately cut off, what permissions are required, or what the response contains. 'Revoke / deactivate' hints at mutation but discloses none of the consequences.

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?

A single short sentence, front-loaded with the action. Nothing is wasted, though the brevity comes partly from omitting needed detail rather than from disciplined editing.

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?

For a destructive, unannotated mutation tool with no output schema, the definition should at minimum state irreversibility and permission expectations. The description gives only the action, leaving an agent without enough information to call it safely in ambiguous situations.

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?

With a single parameter and 100% schema description coverage, the schema already explains that tokenId identifies the token to revoke. The description adds no syntax, format, or accepted-value detail beyond that, 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 states a specific verb pair ('Revoke / deactivate') against a specific resource ('an API access token'), so the action is unambiguous. It does not distinguish itself from siblings like list_tokens or create_token, but the operation is inherently distinct enough that an agent can identify it.

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 use this instead of alternatives, no prerequisites (e.g., must own the token or be an account admin), and no conditions under which revocation should be avoided. The agent must infer all usage context.

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