Skip to main content
Glama

Search matched tenders

search_tenders
Read-onlyIdempotent

Search tenders already matched to the signed-in TenderLead account. Returns tier, data_notice, count and opportunities with contract_id, source links, dates and any available assessment. Follow pagination.next_cursor with the same filters until has_more is false. Stable order is BID first, then score, then notice ID. Counts cover the complete filtered snapshot of stored account matches without known expired deadlines, including older assessments, not the public corpus. Unknown deadline, published value or delivery region is excluded when its filter is used. Value ranges require currency and source-published net/gross basis; no VAT inference. Empty opportunities means no matched results for these filters. Does not search or modify another customer's data.

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": "search_tenders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size from 1 to 20, default 10. Repeat it on continuation pages or omit to reuse it.
queryNoWords from the tender title or buyer name; not delivery geography.
cursorNoNext cursor from this search. Repeat the same filters on every page.
currencyNoPublished ISO currency, such as GBP. Required with a value range.
value_maxNo
value_minNo
deadline_toNoInclusive deadline upper bound with explicit UTC offset. Unknown deadlines do not match deadline filters.
value_basisNoSource-published VAT basis. Required with a value range; no inferred VAT conversion.
deadline_fromNoInclusive deadline lower bound with explicit UTC offset.
recommendationNoSaved TenderLead recommendation, not a user bid decision.
delivery_regionsNoMatch any exact source delivery-region label or code, ignoring case. Unknown regions are excluded; buyer location is not delivery geography.

Output Schema

NameRequiredDescriptionDefault
tierYesEffective account access tier for this read.
countYesNumber of opportunities returned in this response.
coverageYes
paginationYes
data_noticeYesSafety notice for untrusted external text.
opportunitiesYesMatched notices available to this account; an empty array is a valid result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Published ISO currency, such as GBP. Required with a value range.",
      +  "pattern": "^[A-Z]{3}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Next cursor from this search. Repeat the same filters on every page.",
      +  "maxLength": 1000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / deadline_from
      Added value: +{
      +  "description": "Inclusive deadline lower bound with explicit UTC offset.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / deadline_to
      Added value: +{
      +  "description": "Inclusive deadline upper bound with explicit UTC offset. Unknown deadlines do not match deadline filters.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / delivery_regions
      Added value: +{
      +  "description": "Match any exact source delivery-region label or code, ignoring case. Unknown regions are excluded; buyer location is not delivery geography.",
      +  "items": {
      +    "maxLength": 120,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 30,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / properties / limit / default
      Removed value: -10
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results, from 1 to 20."New value: +"Page size from 1 to 20, default 10. Repeat it on continuation pages or omit to reuse it."
    • changedInput schema / properties / query / description
      Previous value: -"Optional words from the tender title or buyer name."New value: +"Words from the tender title or buyer name; not delivery geography."
    • changedInput schema / properties / recommendation / description
      Previous value: -"Optional saved TenderLead recommendation filter."New value: +"Saved TenderLead recommendation, not a user bid decision."
    • addedInput schema / properties / value_basis
      Added value: +{
      +  "description": "Source-published VAT basis. Required with a value range; no inferred VAT conversion.",
      +  "enum": [
      +    "net",
      +    "gross"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / value_max
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / value_min
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "complete_snapshot": {
      +      "const": true,
      +      "description": "The underlying snapshot contains every stored match satisfying the filters. Each response is only one page; follow has_more and next_cursor.",
      +      "type": "boolean"
      +    },
      +    "deadline_policy": {
      +      "const": "exclude_known_expired_include_unknown_unless_filtered",
      +      "type": "string"
      +    },
      +    "public_corpus_search": {
      +      "const": false,
      +      "type": "boolean"
      +    },
      +    "scope": {
      +      "const": "stored_account_matches",
      +      "type": "string"
      +    },
      +    "unknown_filter_values": {
      +      "const": "excluded",
      +      "type": "string"
      +    },
      +    "value_source": {
      +      "const": "published_only_no_vat_inference",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "deadline_policy",
      +    "complete_snapshot",
      +    "public_corpus_search",
      +    "unknown_filter_values",
      +    "value_source"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / opportunities / items / properties / published_value / description
      Previous value: -"Source-published amounts only; never a calculated VAT rate. A conflict requires checking the notice."New value: +"Source-published amounts only; no inferred VAT conversion. Null, unstated basis or conflict requires checking the notice before monetary totals."
    • addedOutput schema / properties / pagination
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "expires_at": {
      +      "type": "string"
      +    },
      +    "has_more": {
      +      "type": "boolean"
      +    },
      +    "next_cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "page_size": {
      +      "maximum": 25,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "returned_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "snapshot_at": {
      +      "type": "string"
      +    },
      +    "total_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "total_count",
      +    "returned_count",
      +    "page_size",
      +    "has_more",
      +    "next_cursor",
      +    "snapshot_at",
      +    "expires_at"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "tier",
      -  "data_notice",
      -  "count",
      -  "opportunities"
      -]New value: +[
      +  "pagination",
      +  "coverage",
      +  "tier",
      +  "data_notice",
      +  "count",
      +  "opportunities"
      +]
  2. Changed2 schema fields changed
    • changedOutput schema / properties / opportunities / items / properties / estimated_value / description
      Previous value: -"Published estimated contract value when available, in currency."New value: +"Stored normalised estimate; it may include an inferred VAT adjustment. Prefer published_value for source amounts and VAT basis."
    • addedOutput schema / properties / opportunities / items / properties / published_value
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "basis": {
      +          "enum": [
      +            "net",
      +            "gross",
      +            "unstated"
      +          ],
      +          "type": "string"
      +        },
      +        "conflict": {
      +          "type": "boolean"
      +        },
      +        "currency": {
      +          "anyOf": [
      +            {
      +              "pattern": "^[A-Z]{3}$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "gross": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "net": {
      +          "anyOf": [
      +            {
      +              "exclusiveMinimum": 0,
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "net",
      +        "gross",
      +        "currency",
      +        "basis",
      +        "conflict"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Source-published amounts only; never a calculated VAT rate. A conflict requires checking the notice."
      +}
  3. Changed10 schema fields changed
    • addedOutput schema / properties / count / description
      Added value: +"Number of opportunities returned in this response."
    • addedOutput schema / properties / data_notice / description
      Added value: +"Safety notice for untrusted external text."
    • addedOutput schema / properties / opportunities / description
      Added value: +"Matched notices available to this account; an empty array is a valid result."
    • addedOutput schema / properties / opportunities / items / properties / contract_id / description
      Added value: +"TenderLead notice identifier; use for get_tender_decision or save_tender."
    • addedOutput schema / properties / opportunities / items / properties / deadline / description
      Added value: +"Notice deadline when available; check the original notice for changes."
    • addedOutput schema / properties / opportunities / items / properties / estimated_value / description
      Added value: +"Published estimated contract value when available, in currency."
    • addedOutput schema / properties / opportunities / items / properties / recommendation / description
      Added value: +"Saved BID or SKIP recommendation, not submission approval."
    • addedOutput schema / properties / opportunities / items / properties / score / description
      Added value: +"Available fit assessment from 0 to 100; null or absent means no usable score."
    • addedOutput schema / properties / opportunities / items / properties / source_url / description
      Added value: +"Link to the original public notice; verify submission requirements there."
    • addedOutput schema / properties / tier / description
      Added value: +"Effective account access tier for this read."
  4. Changed2 schema fields changed
    • addedOutput schema / properties / opportunities / items / properties / assessment_metadata
      Added value: +{
      +  "anyOf": [
      +    {},
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / opportunities / items / properties / assessment_state
      Added value: +{
      +  "enum": [
      +    "excluded",
      +    "needs_review",
      +    "consider",
      +    "low_fit"
      +  ],
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, non-destructive, idempotent and closed-world behavior, yet the description adds substantial context: stable BID/score/notice-ID ordering, counts covering the complete filtered snapshot of stored matches excluding known expired deadlines, and that older assessments are included. It also discloses exclusion semantics for unknown deadline, value or region, the no-VAT-inference rule, and that other customers' data is never searched or modified.

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 the identity of the tool and the return shape, then moves to operational rules. Sentences are dense but each carries a distinct constraint; a couple of clauses (ordering plus notice ID, and the snapshot-count sentence) pack multiple facts into one line, making it slightly heavy to parse.

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?

For an 11-parameter, all-optional filter tool with an output schema and full annotations, the description covers pagination protocol, ordering guarantees, count semantics, empty-result meaning, filter exclusion behavior, and data-boundary limits. Nothing an agent needs to call it correctly is missing.

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?

With 82% schema coverage the baseline is 3, but the description adds cross-parameter semantics the schema does not: value ranges require both currency and source-published net/gross basis with no VAT inference, and filters silently exclude records whose deadline, value or region is unknown. It does not expand on limit, query or cursor beyond what the schema already documents.

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 ('Search tenders already matched to the signed-in TenderLead account') and immediately bounds the scope by excluding the public corpus and other customers' data. An agent can tell it apart from a general tender search 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?

Explicitly tells the agent to follow pagination.next_cursor with the same filters until has_more is false, and clarifies that empty opportunities means no matched results for these filters. It does not name which sibling to use for a single tender's decision detail, so alternatives are only implied rather than spelled out.

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