Skip to main content
Glama

ObraTudela: precios de obra, Catastro y 3D

Presupuesto de varias partidas

oferta_obra
Read-onlyIdempotent

Rellena una petición de oferta o presupuesto: hasta 100 líneas, cada una por código BC3 o por descripción, con cantidad. Devuelve precio, importe por línea y total en EUR. De pago: 0.50 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": {
      "lineas": "<lineas>"
    },
    "name": "oferta_obra"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineasYes
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?

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses the commercial behaviour: 0.50 USD per call via x402 in USDC on Base, and 'No se cobra si no existe', which tells the agent failed lookups are free. It also states the returned fields, which matters since there is no output schema. It does not explain whether repeated identical successful calls are recharged despite idempotentHint, a minor remaining gap.

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?

Four tight sentences: purpose first, then line format, then return values, then pricing and the free-on-miss clause. Almost every sentence carries distinct information; only the 100-line cap is redundant with the schema.

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 paid, fixed-shape quote tool with no output schema, the description covers input shape, output fields, cost, payment mechanism and the no-charge failure case, backed by readOnly/idempotent annotations. What it omits is how partial or unknown item codes are reported in the response, which an agent would want before composing a large request.

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 nested cod/texto/cantidad fields and pago_x402 are already documented in the schema, and the description's 'hasta 100 líneas' duplicates maxItems=100. What it does add is the either/or rule (código BC3 or descripción) that governs cod vs texto, which the schema presents as merely optional siblings; this partially compensates for the undocumented top-level lineas parameter, so baseline 3 fits.

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?

States a specific verb and resource: 'Rellena una petición de oferta o presupuesto', with concrete scope ('hasta 100 líneas, cada una por código BC3 o por descripción, con cantidad') and what is returned ('precio, importe por línea y total en EUR'). The plural-lines scope implicitly separates it from the single-item siblings, but no sibling is named, so the differentiation is inferred rather than explicit.

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?

Usage context is implied by the batch nature ('hasta 100 líneas') and by the payment note, which tells the agent what happens on a first call without a signed payment. There is no explicit when-to-use / when-not-to-use guidance versus precio_partida or buscar_partidas, leaving the agent to infer that this is the multi-line quoting path.

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.