Skip to main content
Glama

ObraTudela: precios de obra, Catastro y 3D

Precio de una partida de obra

precio_partida
Read-onlyIdempotent

Precio de referencia en EUR, unidad y descripción de una partida de obra por su código BC3 (búscalo antes con buscar_partidas). Para presupuestos de excavación, movimiento de tierras, demolición, alquiler de maquinaria, etc. De pago: 0.01 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": {
      "codigo": "<codigo>"
    },
    "name": "precio_partida"
  }
}

Input Schema

NameRequiredDescriptionDefault
codigoYesCódigo BC3 de la partida, p. ej. M12O013
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

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes beyond that by disclosing the paid model (0.01 USD per call via x402, USDC on Base), that no charge is incurred when the item does not exist, and that without a signature it returns the cost and payment requirements — valuable behavior an agent could not infer from the annotations.

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?

Front-loaded with what is returned before the usage domain and the payment terms, with no filler sentences. It is slightly dense with parenthetical payment detail, but each clause carries information the agent needs.

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?

With no output schema, the description correctly names the returned fields (price, unit, description) and explains the two-step lookup-then-price flow plus the unpaid-call fallback. It leaves minor gaps such as error behavior for malformed codes or whether prices include taxes, but is otherwise sufficient for a 2-parameter lookup tool.

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 100%, so the schema already documents both codigo and pago_x402, including what happens when the payment signature is absent. The description adds only the operational hint that the code must be resolved first via buscar_partidas; it does not add format or semantics beyond the schema, which matches the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource: returns the reference price in EUR, unit and description for a work item identified by its BC3 code. It explicitly differentiates itself from the sibling buscar_partidas by telling the agent to look the code up there first, so the two tools are distinguishable without opening either schema.

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 clear precondition and alternative ('búscalo antes con buscar_partidas') and scopes the use case to excavation, earthmoving, demolition and machinery-rental budgets. There is no explicit statement of when NOT to call it (e.g. for non-BC3 items), so it falls just short of full routing 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.