Skip to main content
Glama

Analyze a contract with Cohere

analyze_contract_with_cohere
Read-only

Read a whole tender package with Cohere Command A+ and explain it to a business owner: what it is, who can bid, how offers are evaluated, everything that must be submitted (with document and page), fit, risks and next actions. Reads the notice and every published CanadaBuys attachment, amendments first. Alberta APC: the first call returns a private upload link (APC releases documents only to the user's own supplier account); call again with upload_token. The tender text is sent to Cohere. The model reasons before answering, so a call can take several minutes; a reply cut off by max_tokens returns an error, never a partial analysis. Hosted: sign-in and an active workspaceAlberta Pro subscription required. Hosted: sign-in and an active workspaceAlberta Pro subscription required.

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": {
      "reference": "<reference>"
    },
    "name": "analyze_contract_with_cohere"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNoInline business profile used for this call only. Overrides any saved profile. On the shared public endpoint without a subscriber key, this is the way to describe your business.
questionNoOptional specific question to ask about the tender
referenceYesReference or solicitation number for the tender to analyze
max_tokensNoTokens for reasoning plus the answer (default 50000, min 4000, max 64000)
upload_tokenNoFor APC only: the upload_token from an earlier classify_tender, process_bid_room or analyze_contract_with_cohere result, after the user uploaded the documents.
business_contextNoOptional company capabilities or bid context. If omitted, the saved business profile is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / max_tokens / default
      Previous value: -1200New value: +50000
    • changedInput schema / properties / max_tokens / description
      Previous value: -"Maximum model response tokens (default 1200, max 2000)"New value: +"Tokens for reasoning plus the answer (default 50000, min 4000, max 64000)"
    • addedInput schema / properties / upload_token
      Added value: +{
      +  "description": "For APC only: the upload_token from an earlier classify_tender, process_bid_room or analyze_contract_with_cohere result, after the user uploaded the documents.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Strong additions beyond annotations: tender text is transmitted to a third party (Cohere), calls can take several minutes because the model reasons first, and a max_tokens cutoff produces an error rather than a partial analysis. These are exactly the operational facts annotations cannot convey, though the duplicated hosted-subscription sentence wastes space rather than adding disclosure.

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

Conciseness3/5

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

The purpose and key constraints are front-loaded in the first sentences, but the final sentence 'Hosted: sign-in and an active workspaceAlberta Pro subscription required.' is repeated verbatim, and the clause about APC is dense enough to require re-reading. Roughly a sentence of the text is pure duplication.

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 six-parameter read-only analysis tool with no output schema, this covers the essentials: data destination, latency expectations, failure mode, authentication, and the two-call APC path. It could still say whether results are cached or cost credits and roughly what the returned analysis looks like in structure, which keeps it short of a 5.

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?

Schema coverage is 100% and the descriptions are already detailed, so the baseline is 3. The prose earns an extra point by explaining the consequence of max_tokens (error, never partial) and the two-step upload_token flow across classify_tender, process_bid_room and this tool, which the schema alone does not make explicit.

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 specific verb and resource ('Read a whole tender package with Cohere Command A+ and explain it') and then enumerates the exact outputs: eligibility, evaluation criteria, submission checklist with document and page, fit, risks, next actions. An agent can distinguish this deep-analysis tool from lighter siblings like classify_tender without inspecting 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 Guidelines4/5

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

It gives concrete preconditions and sequencing: amendments are read first, APC requires a second call with upload_token, and hosted use needs sign-in plus an active subscription. It stops short of explicitly saying when to prefer this over siblings such as classify_tender or get_opportunity_details, so the routing logic must be inferred from the upload_token cross-references.

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.