Skip to main content
Glama

Arquivix Notas · NFS-e

import_discard

DestructiveIdempotent

Discard an import that has not been emitted yet. Nothing is issued. Not possible once emitting or done.

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": {
      "import_id": "<import_id>"
    },
    "name": "import_discard"
  }
}

Input Schema

NameRequiredDescriptionDefault
import_idYesUUID of the import

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructive=true and idempotent=true; the description adds real behavioral context beyond them by clarifying that nothing downstream is issued ('Nothing is issued') and by pinning the lifecycle window in which the destructive action is legal. It does not say whether the discarded import record is deleted or recoverable, which is the remaining gap for a destructiveHint tool.

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, front-loaded with the action and immediately followed by the effect and the precondition. No filler or repetition.

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, non-open-world tool with rich annotations and no output schema, the definition supplies action, side-effect scope, and lifecycle guard. Only the fate of the discarded import (deleted vs. recoverable) is left unstated.

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?

A single required import_id with 100% schema description coverage, so the schema already explains it as the import UUID. The description adds no format, sourcing, or lookup guidance for that identifier, so the 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?

Names a specific verb ('Discard') and resource ('an import') and constrains the target to imports not yet emitted. It implicitly distinguishes itself from the sibling import_emit by naming the pre-emission state, though it never names the alternative explicitly.

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 eligibility condition: usable only while the import has not been emitted, and explicitly not possible once emitting or done. That is a clear when-to-use and when-not-to-use rule, missing only an explicit pointer to the sibling that advances the import instead.

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