Skip to main content
Glama

Fetch tender detail

fetch_tender_detail
Read-onlyIdempotent

Fetch the source detail page for tenders already imported and store it — detail_html, detail_fetched_at, and the richer description, location, authority and publication date the listing row does not carry. Do this BEFORE run_tender_analysis: a list crawl stores only the metadata line ("Remote | Freiberuflich | 3 Monate+"), and requirements derived from that line are invention, not extraction. Pass tender_ids, or missing_only to take the ones never fetched. Freelancermap detail pages need stored portal credentials; without them the page comes back logged-out.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fetch_tender_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoWait for the result. Each page costs a few seconds, so a large batch will exceed the request timeout — leave false and check detail_fetched_at afterwards.
limitNoWith missing_only: how many to take (default 10, max 50).
tender_idsNoUp to 50 tender UUIDs.
missing_onlyNoInstead of tender_ids: take the tenant's tenders whose detail_fetched_at is null, newest first.
deadline_unknown_onlyNoInstead of tender_ids: take the tenant's tenders that have NO submission_deadline but do have a source_url, newest first. Different set from missing_only, which goes by a thin description — a notice can carry three paragraphs and still no recorded deadline, so a run of missing_only alone never closes the deadline gaps (ticket 408ec093). Rows without a source_url are left alone; they are the clarification list in list_tenders with deadline_state "unknown_needs_human".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds context annotations cannot carry: per-page latency and the risk of exceeding the request timeout on large batches, the auth prerequisite for freelancermap pages, and the fact that persistence is what makes the enrichment durable. The local cache write it performs sits slightly in tension with readOnlyHint=true, but the description discloses that write plainly and the tool remains idempotent and non-destructive, so an agent is not misled about risk.

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-loads what is fetched and stored, then the ordering constraint, then parameter guidance — a sensible priority order. Slightly over-written in places (the quoted sample listing line, the ticket reference), but every sentence carries actionable information, so nothing is truly wasted.

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 takes on the burden of saying what is produced (which fields are populated on the tender row) and how to verify progress (check detail_fetched_at). Only per-tender failure reporting is left implicit, which is a minor gap for a fetch-and-store 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 description coverage is 100% and the schema already documents wait, limit, tender_ids, missing_only, and deadline_unknown_only in detail, including the difference between the two selector modes. The description's 'Pass tender_ids, or missing_only' largely restates the schema's 'Instead of tender_ids' phrasing rather than adding new semantics, so the baseline of 3 applies.

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?

A precise verb-plus-resource statement ('fetch the source detail page... and store it') that also enumerates exactly which fields get enriched (detail_html, detail_fetched_at, description, location, authority, publication date). It is clearly distinguished from the list crawl that only produces a thin metadata line, so an agent can separate it from list_tenders and run_tender_analysis without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit ordering rule ('Do this BEFORE run_tender_analysis') with the failure mode spelled out (requirements derived from the listing line are invention, not extraction). It also names the two mutually exclusive selection modes (tender_ids vs missing_only) and the prerequisite (stored portal credentials) that determines success or a logged-out page.

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