Skip to main content
Glama
Federal Register MCP

Federal Register MCP

by anblanco

Search Executive Orders

search_executive_orders
Read-onlyIdempotent

Search executive order titles and full text locally using boolean operators, phrases, and prefix matching to find relevant orders by keyword.

Instructions

Full-text search across all executive order titles and body text. Supports boolean operators (AND, OR, NOT), phrase search ("quoted phrases"), and prefix search (term*). Results ranked by relevance. Search is entirely local — no API calls.

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": {
      "query": "<query>"
    },
    "name": "search_executive_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results
queryYesSearch query. Examples: "energy policy", climate AND paris, tariff*

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false. The description adds genuinely new behavioral context: relevance-ranked results and the fact that matching is local with no API calls, which informs latency and privacy expectations. It stops short of describing result ordering ties or behavior on zero matches.

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 short sentences, each carrying distinct information: scope, query syntax, ranking, and execution locality. The purpose is front-loaded and nothing is redundant.

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?

With an output schema present, return values need no explanation, and the two parameters are fully documented in the schema. The description covers scope, syntax, ranking, and locality, leaving only minor gaps such as zero-result behavior.

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 goes beyond the schema by spelling out operator semantics: AND/OR/NOT, quoted phrases, and term* prefix matching. That is the key thing an agent needs to compose a valid query string, and the schema's examples alone would not convey the operator rules.

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 with scope: 'full-text search across all executive order titles and body text.' An agent can distinguish it from list_executive_orders and get_executive_order by the verbs themselves, but the description never names those siblings or states the boundary explicitly.

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?

Usage is implied by 'full-text search' versus the list/get siblings, and the query syntax guidance helps an agent construct a call. However there is no explicit statement of when to prefer this over list_executive_orders or get_executive_order, and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.