Skip to main content
Glama

Search exclusions

search_exclusions
Read-onlyIdempotent

Filter active exclusion records by agency, program, classification, geography and dates. Limit is a maximum; large records can produce a smaller page with page_size_limited true. Continue with next_cursor and unchanged filters and limit. Preserve generation and read coverage.freshness for source age and warnings; results are dated evidence, not clearance.

Input Schema

NameRequiredDescriptionDefault
qNoName, identifier, or other text to find in active exclusion records.
limitNoMaximum records to return, from 1 to 50. Large records may produce a smaller page; continue with next_cursor and unchanged filters and limit.
stateNoUS state name or postal code in the exclusion record.
agencyNoExcluding agency name or code.
cursorNoOpaque next_cursor from a previous search response.
countryNoCountry name or code in the exclusion record.
programNoExclusion program name or code.
generationNoRetained snapshot UUID; omit for the current snapshot.
effective_toNoInclude records effective on or before this ISO date.
classificationNoOfficial SAM exclusion classification code or label.
effective_fromNoInclude records effective on or after this ISO date.

Output Schema

NameRequiredDescriptionDefault
itemsYes
coverageYesDated source coverage, or an unavailable status.
generationYes
next_cursorNo
page_size_limitedYesWhole records were deferred to next_cursor to fit the response budget. Continue with the same filters and requested limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world). The description adds genuinely useful behavior beyond that: pages may come back smaller than limit with page_size_limited true, cursor must be paired with unchanged filters, and the data is 'dated evidence, not clearance' — a meaningful validity caveat. It stops short of describing freshness staleness thresholds.

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 purpose sentence, then pagination mechanics, then the freshness/validity caveat. Slightly dense with internal jargon (page_size_limited, coverage.freshness, generation) and mildly redundant with the limit and cursor schema descriptions, but no filler sentences.

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?

An output schema exists so return values need not be explained, and the description covers pagination, cursor discipline, snapshot/generation retention, and a warning about data recency. The only real gap is disambiguation from the many sibling search/check tools.

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%, so every one of the 11 parameters is already documented, making 3 the baseline. The description restates the filter facet categories but adds no syntax, accepted values, or matching semantics beyond the schema, so it neither compensates nor improves.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Filter active exclusion records' — and enumerates the filterable facets (agency, program, classification, geography, dates). It does not, however, distinguish itself from the close sibling check_exclusions, which likely returns a single match versus this list/filter behavior, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Provides clear operational guidance for the paginated loop ('Continue with next_cursor and unchanged filters and limit'), which implies this is a multi-page list tool. But it never says when to choose it over check_exclusions, search, exclusion_changes, or exclusion_context, leaving the sibling-selection decision to inference.

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.