Skip to main content
Glama

Run tender analysis

run_tender_analysis

Run AI analysis on a tender: writes ai_summary, extracted requirements, and bumps status discovered→analyzed. Requires a JWT-authenticated caller. Fetch the detail page first with fetch_tender_detail — on a tender that only has its listing row this refuses rather than inventing requirements.

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": {
      "tender_id": "<tender_id>"
    },
    "name": "run_tender_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNo
tender_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the written fields, the status transition, the authentication requirement (JWT-authenticated caller), and a refusal condition with its rationale. The write behavior is consistent with readOnlyHint=false and the state change is consistent with idempotentHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: effects first, then auth requirement, then prerequisite/refusal. No filler, and the most decision-relevant content is front-loaded.

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 non-idempotent AI-analysis mutation with no output schema, the description covers side effects, preconditions, and failure mode. The only meaningful gap is the undocumented language parameter; otherwise an agent has enough to call it correctly.

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 0%, so the description must carry parameter meaning. It clarifies tender_id's precondition (the tender must have a detail row, else the call refuses), but the optional 'language' parameter is never mentioned in the description or the schema, leaving one of two parameters entirely undocumented.

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+resource ('Run AI analysis on a tender') and immediately names the concrete effects: writes ai_summary, extracted requirements, and moves status discovered→analyzed. This distinguishes it from sibling analysis tools like run_personnel_analysis and run_tender_fit_check without needing their schemas.

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?

Explicitly names the prerequisite step ('Fetch the detail page first with fetch_tender_detail') and the condition under which this tool will not act ('on a tender that only has its listing row this refuses rather than inventing requirements'). Both the when and the when-not are stated with a named alternative.

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