Skip to main content
Glama

WritersLogic business agents

bid-coverage

Bid coverage: uncovered lines, substitutions, partial quantities and conditional bundles — Checks which required lines of a tender or RFQ are covered by the bids received (up to 200 lines, 30 bidders, 2000 offers), for an agent comparing responses. A line is covered when firm offers (exact item, no condition, no bundle) sum to the required quantity; substitute offers, offers bound to a bundle (all-or-nothing across the lines in that bundle) and offers with a stated condition are reporte

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": {
      "lines": "<lines>",
      "bids": "<bids>"
    },
    "name": "bid-coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
bidsYes
linesYes

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?

With no annotations, the description carries the full burden and does real work: it discloses the coverage rule, that bundles are all-or-nothing across their lines, and that substitute, bundle-bound and conditional offers are handled differently rather than silently counted. It stops short of saying what the response object looks like or that the operation is a pure computation with no side effects.

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 a scannable category list followed by the precise definition of coverage, so the most decision-relevant information comes first. The prose is dense and earns its space, but the final clause is cut off mid-word ('are reporte'), which leaves the sentence about non-firm offers incomplete.

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 two-parameter computational tool with no output schema and no annotations, the definition covers the domain rule, input limits, and the special-case handling an agent needs to trust the result. The truncated ending is the one real completeness defect — the agent is told non-firm offers 'are reported' but not in what form, and partial-quantity reporting is named in the header without being explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Top-level schema coverage is 0% for `lines` and `bids`, and the description compensates by explaining that lines are required quantities and bids are per-bidder offers, plus the semantics of the nested flags: a substitute is a different item, a bundle binds all lines sharing its id, and a condition disqualifies an offer from firm coverage. This adds genuine meaning beyond the schema's field-level notes, though it never explains the `bidder` field or how partial quantities are aggregated across bidders.

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 specific verb and resource ('Checks which required lines ... are covered by the bids received') and goes further by defining the decision rule for coverage (firm offers summing to the required quantity). The opening phrase enumerates the exact categories it reports — uncovered lines, substitutions, partial quantities, conditional bundles — so an agent knows the output shape of the answer before calling.

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 clear context for invocation ('for an agent comparing responses' to a tender or RFQ) and implicit operating limits (up to 200 lines, 30 bidders, 2000 offers) that tell the agent when the input is in scope. It does not name a when-not case or an alternative tool, but the sibling list contains no obvious same-domain substitute, so the gap is minor.

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