Skip to main content
Glama

Cancelar lote

cancelar_lote
DestructiveIdempotent

Cancela los enlaces de un lote que siguen pendientes. Los pagados o en pago no se tocan.

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": "cancelar_lote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesid del lote

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 already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description then adds the non-obvious behavioral detail that only pending links are cancelled while paid and in-progress links are spared — exactly the kind of blast-radius context annotations cannot express. It does not say what happens on a non-existent or fully-paid lote, but the added value over the annotations is real.

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?

Two short sentences with zero filler. The positive scope comes first and the exclusion second, which is the correct front-loading for a destructive operation.

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 tool with full annotation coverage and no output schema, the description covers purpose, scope and side-effect boundary adequately. The remaining gaps — return value and error behavior on an already-cancelled or fully-paid lote — are minor, and the idempotentHint partially addresses repeat calls.

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?

There is only one parameter and schema description coverage is 100%, with the schema constraining the id via a regex pattern and a 'id del lote' description. Per the baseline rule for a fully documented single parameter, the schema already carries the semantics and the description needs to add nothing. It adds no extra meaning, but no gap is left open.

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 ('Cancela') with a precise resource and scope: 'los enlaces de un lote'. The 'de un lote' qualifier implicitly distinguishes it from the sibling cancelar_link, which operates on a single link. It stops short of naming that sibling explicitly, so the differentiation requires a small inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies a clear eligibility rule ('que siguen pendientes') and an exclusion ('los pagados o en pago no se tocan'), which tells the agent when the call is meaningful. However, it never routes the agent explicitly between this tool and cancelar_link, nor states prerequisites such as whether the caller must own the lote. Usage is implied rather than prescribed.

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