Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

anaf_delete_token

DestructiveIdempotent

Delete an ANAF OAuth token by UUID to remove shared token access for all linked companies or revoke access for one company when the token is exclusive.

Instructions

Delete an ANAF OAuth token. A shared token stops serving every company that relied on it. An exclusive token (exclusive: true in anaf_tokens) revokes ANAF access for the one company it is bound to and nothing else. The token ID is the UUID from anaf_tokens or anaf_token_link_result.

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": {
      "id": "<id>"
    },
    "name": "anaf_delete_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe ANAF token ID to delete (UUID from anaf_tokens)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.59
    • changedInput schema / properties / id / description
      Previous value: -"The ANAF token ID to delete (integer ID from anaf_tokens)"New value: +"The ANAF token ID to delete (UUID from anaf_tokens)"
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"string"
  2. First observedv1.0.17

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, and readOnly=false, but the description adds the crucial blast-radius information: a shared token stops serving every company, while an exclusive token affects only the bound company. It does not state behavior when the ID does not exist or whether the action is reversible, which keeps it below a 5.

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?

Four short sentences, front-loaded with the action, then the consequence for each token type, then the parameter source. No filler and no repetition of annotation-declared facts.

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 destructive single-parameter tool with no output schema, the description covers the action, the effect per token type, and where to obtain the ID. Only error/failure semantics and any confirmation requirements are absent, which are minor given the annotation coverage.

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?

The schema fully documents the single id parameter, but the description adds usable meaning beyond it by identifying both valid sources for the UUID (anaf_tokens or anaf_token_link_result), whereas the schema mentions only anaf_tokens. This is a genuine addition over structured data.

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 verb and resource ('Delete an ANAF OAuth token') and immediately distinguishes two distinct semantics of the operation (shared vs exclusive token). An agent can identify the tool and its effect without consulting siblings.

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 clear context for when this applies and what each case implies, and directs the agent to anaf_tokens to determine whether a token is exclusive. It does not name an alternative tool for unlinking rather than deleting, but the operational guidance for the delete itself is clear.

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