Skip to main content
Glama

The Cable Code

Read a tender document: cables built, requirements, schedule, conflicts and gaps

read_tender
Read-only

Read a tender or project document's text into its cables (built and checked by the rules), the required / offered schedule, requirements, conflicts and missing sections, with pages. An LLM (Claude) copies values, deciding nothing. Waits up to about two minutes, then answers a poll link (GET /api/v1/tender/{job}); a PDF: POST /api/v1/tender. Notes: thecablecode://guide/read_tender. Always paid: $4.00 up to 20 pages, $2.00 for each further 10 pages begun, up to 80 pages, USDC (x402).

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": {
      "text": "<text>"
    },
    "name": "read_tender"
  }
}

Input Schema

NameRequiredDescriptionDefault
hintNoA cable tag or a voltage to look for first.
langNoThe language of the schedule's parameter names: any of the site's 15 (en, tr, de, nl, sv, fr, es, da, no, fi, it, ro, pl, cs, ru). Default en.
textYesThe document's text (a Word file turned into text); it counts one page per 1,700 characters begun.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, openWorldHint), the description discloses the genuinely non-obvious traits: it is asynchronous with a ~2 minute wait and a poll link (GET /api/v1/tender/{job}), it is always paid at $4.00 for 20 pages plus $2.00 per further 10 pages begun, capped at 80 pages via USDC/x402, and an LLM copies values without deciding anything. Cost, latency, and the no-inference guarantee are exactly the behaviors an agent cannot get from annotations or schema. It stops short of describing failure/refund behavior or output format details, so not a 5.

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?

The core capability and output list are front-loaded, and the operational facts (async poll, pricing) are packed efficiently into two sentences. It is dense but nearly every clause carries information; the endpoint paths and pricing tier wording are the only parts that could be trimmed.

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

Completeness5/5

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

There is no output schema, so the description must carry the return shape itself, and it does: cables, schedule, requirements, conflicts, missing sections, pages. It also covers the async job lifecycle and the cost model, which are the two things an agent needs before committing to a paid, multi-minute call.

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 all three parameters (hint, lang, text) are already documented in the schema, including the 1,700-characters-per-page rule and the 15 supported languages. The description adds no parameter-level meaning beyond restating that results come 'with pages'; the baseline 3 applies when the schema carries the load.

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?

The description names a concrete verb and resource ('Read a tender or project document's text') and enumerates the exact outputs: cables built and checked by the rules, required/offered schedule, requirements, conflicts, missing sections, and pages. That output profile is distinct from every sibling (design_cable, extract_datasheet, check_cable), so an agent can route here without opening the schema.

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 is implied rather than stated: the tool applies when you have a tender/project document text and want it parsed. There is no explicit when-not-to-use guidance and no named alternative for the adjacent task of pulling a single datasheet (extract_datasheet), leaving the agent to infer the boundary.

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