Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

anaf_delete_token

DestructiveIdempotent

Deletes an ANAF OAuth token by its integer ID to revoke e-Factura synchronization access for the associated CIF.

Instructions

Delete an ANAF OAuth token. This revokes e-Factura synchronization access for the CIF associated with this token. The token ID is an integer obtained from anaf_tokens.

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuine value beyond them by naming the actual side effect — revocation of e-Factura synchronization for the CIF tied to the token — which an agent cannot infer from structured fields.

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 with no filler; the core action is front-loaded, the consequence second, and the parameter hint last. Every sentence carries distinct information.

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 single-parameter deletion with rich annotations and no output schema, this covers action, consequence, and parameter provenance. It could say more about failure modes (unknown ID, already-revoked token) but nothing essential is missing.

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?

Schema coverage is 100% and the schema description already says 'integer ID from anaf_tokens', so the description's note about the integer ID and its source restates structured data rather than extending it. Baseline 3 is appropriate.

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 (delete) and resource (ANAF OAuth token), plus the concrete consequence for e-Factura sync. This distinguishes it cleanly from anaf_tokens (listing) and anaf_create_token_link (creation).

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?

It makes clear when you'd call it (to revoke e-Factura sync for a CIF) and tells you where the required ID comes from (anaf_tokens). It stops short of explicit exclusions such as what to do if the token is in use or how to re-establish access afterward.

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