Skip to main content
Glama

ObraTudela: precios de obra, Catastro y 3D

Cálculo de impresión 3D de una pieza

calcular_impresion_3d
Read-onlyIdempotent

Gramos y metros de filamento, horas y coste aproximados de imprimir una pieza de la bici de cenital.org. De pago: 0.05 USD por llamada (x402, USDC en Base). No se cobra si no existe.

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

Input Schema

NameRequiredDescriptionDefault
idYesId de la pieza (ver buscar_piezas_3d)
rellenoNoRelleno en % (20 por defecto)
materialNoFilamento (PLA por defecto)
pago_x402NoOpcional. Pago x402 v2 firmado: el valor que iría en la cabecera PAYMENT-SIGNATURE (base64). Sin él, la herramienta responde cuánto cuesta y los requisitos de pago.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds materially beyond them: it is a paid tool at 0.05 USD per call settled in USDC on Base via x402, and billing is waived when the piece does not exist — critical preconditions an agent would not otherwise know. It stops short of describing output formatting or any rate/retry behavior.

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 tight sentences: the first front-loads the outputs, the second front-loads the pricing and the billing exception. No filler, though the pricing sentence could have been merged into the payment-flow explanation for slightly better flow.

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?

No output schema exists, and the description compensates by naming all returned values (grams, meters, hours, approximate cost). It also explains the two-step payment negotiation. Minor gap: no statement about behavior on invalid ids versus non-existent pieces, or how approximate the estimate is.

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?

With 100% schema description coverage, the schema already documents id, relleno (default 20%), material (PLA default) and pago_x402. The description adds no further meaning about these parameters — the payment-signature mechanics are covered by the schema text itself, so it neither compensates nor detracts.

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 gives a specific verb (calcular/imprimir) and resource (una pieza de la bici de cenital.org) and enumerates the exact outputs: gramos y metros de filamento, horas y coste aproximados. It's clear what the tool produces, though it doesn't explicitly contrast itself with siblings like buscar_piezas_3d or ficha_pieza_3d (the cross-reference appears only in the schema, not the description).

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?

Implied usage is clear — call it to estimate print cost/time for a known piece id — and the paywall behavior (first call returns price and payment requirements) is explained. However, there is no explicit when-to-use/when-not guidance or named alternative for related lookups such as ficha_pieza_3d or buscar_piezas_3d.

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.