Skip to main content
Glama

Check possible exclusion matches

check_exclusions
Read-onlyIdempotent

Check 1 to 20 identities against the active SAM snapshot. Each identity needs a name, UEI, CAGE, or NPI. Exact identifier matches and name-only possible matches are distinct. If the source is over 24 hours old or its date cannot be verified, the check returns a source_unavailable tool error without results. A fresh snapshot with no match is not clearance.

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": {
      "identities": "<identities>"
    },
    "name": "check_exclusions"
  }
}

Input Schema

NameRequiredDescriptionDefault
generationNoRetained snapshot UUID; omit for the current snapshot.
identitiesYesOne to twenty identities to compare with the dated SAM snapshot.

Output Schema

NameRequiredDescriptionDefault
resultsYes
coverageYes
generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / $defs / ExclusionMatch / properties / snapshot_status / description
      Previous value: -"Observed lookup outcome in the dated snapshot, even when status is unavailable."New value: +"Same dated lookup outcome as status. Present only for a completed check."
    • changedOutput schema / $defs / ExclusionMatch / properties / status / description
      Previous value: -"Exact or possible match, fresh-snapshot no-match, or unavailable. Stale,\nunknown and missing sources never produce a clean no-match status."New value: +"Exact, possible, or no match in a fresh snapshot. A stale source fails the whole check."
  2. Changed2 schema fields changed
    • changedInput schema / $defs / Identity / properties / name / description
      Previous value: -"Person or organization name; name-only matches are possible matches."New value: +"Person or organization name, within 256 UTF-8 bytes; name-only matches are possible matches."
    • changedOutput schema / $defs / Identity / properties / name / description
      Previous value: -"Person or organization name; name-only matches are possible matches."New value: +"Person or organization name, within 256 UTF-8 bytes; name-only matches are possible matches."
  3. Changed2 schema fields changed
    • changedInput schema / $defs / Identity / properties / name / description
      Previous value: -"Person or organization name, within 256 UTF-8 bytes; name-only matches are possible matches."New value: +"Person or organization name; name-only matches are possible matches."
    • changedOutput schema / $defs / Identity / properties / name / description
      Previous value: -"Person or organization name, within 256 UTF-8 bytes; name-only matches are possible matches."New value: +"Person or organization name; name-only matches are possible matches."
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds behavior the annotations cannot: a 24-hour freshness threshold, a named error mode with no partial results, the distinction between exact identifier matches and name-only possible matches, and the caveat that no match on a fresh snapshot is not clearance. That last sentence materially shapes how an agent should report results.

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?

Four sentences, each carrying a distinct load: scope, input requirements, match-type semantics, and the failure/caveat pair. The most consequential warning, that no match is not clearance, is placed last where it reads as a qualifier rather than being buried mid-paragraph.

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?

An output schema exists, so return shape need not be described. Given that, the description covers what an agent still needs: batch bounds, minimum identity content, match-type distinctions, and the stale-source error path. Nothing required to call this 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?

Schema coverage is 100%, so the baseline is 3, but the description adds a constraint the schema does not state: every identity 'needs a name, UEI, CAGE, or NPI,' implying at least one identifier field is required even though all four are individually nullable. The generation parameter for pinning a retained snapshot is left to the schema, which is acceptable given its inline description.

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?

The description opens with a specific verb and resource plus a hard scope: 'Check 1 to 20 identities against the active SAM snapshot.' That is enough to distinguish it from a free-form search sibling, but it never explicitly names or contrasts itself with search_exclusions or exclusion_context, so sibling routing relies on inference.

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 clear operating context: each identity must carry a name, UEI, CAGE, or NPI, and the batch size is bounded at 1-20. It also flags the failure condition (stale or unverifiable source yields source_unavailable with no results). It stops short of saying when an agent should prefer this batch check over a search or explain_match call.

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.