Skip to main content
Glama

Agregar facturas a un pedimento

agregar_facturas_pedimento

Lee 1 a 3 facturas más (base64 o texto) y las agrega a un pedimento de la cuenta. No descuenta otro pedimento.

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>",
      "facturas": "<facturas>"
    },
    "name": "agregar_facturas_pedimento"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesid del pedimento
facturasYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=false, so the mutation profile is known. The description adds the 1-3 invoice limit and the 'no descuenta otro pedimento' side-effect clarification, which is useful. However, it does not say whether invoices are appended to or replace existing ones, how duplicates are handled, or what the call returns on partial failure.

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?

Two short sentences, with the action and the 1-3 limit front-loaded. There is no filler. The trailing 'No descuenta otro pedimento' is terse to the point of being cryptic, which slightly weakens an otherwise tight structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation tool with no output schema and non-idempotent, non-destructive annotations, the description covers the basic action and input formats. It leaves gaps an agent would care about: append-versus-replace behavior, error conditions per invoice, and an explanation of what 'no descuenta otro pedimento' actually means in the account's flow.

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 50%: the 'id' parameter is documented in the schema, and the array bounds (minItems 1, maxItems 3) are structural. The description adds that invoice content may be supplied as base64 or texto, but the 'nombre' field and the semantics of supplying both texto and base64 at once remain undocumented in both places, which is consistent with a baseline 3.

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 names a specific action and resource: it reads 1 to 3 invoices and appends them to a pedimento belonging to the account. It also states the accepted input formats (base64 or texto). It does not distinguish itself explicitly from siblings such as crear_pedimento or consultar_pedimento, so it stops short of a 5.

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 explicit statement of when to use this tool rather than crear_pedimento or another sibling, nor any prerequisite such as whether the pedimento must already exist or be in a given state. The sentence 'No descuenta otro pedimento' hints at a scope constraint but is ambiguous and does not function as usage guidance.

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