Skip to main content
Glama

Search SP 800-53 controls

controls_search
Read-onlyIdempotent

Search NIST SP 800-53 control text to find matching controls by keywords, family, release, or baseline; each result includes control ID, title, snippet, and relevance score.

Instructions

Search SP 800-53 control text and return the best matches.

Each hit gives the control id, title, family, a snippet with the matched words in square brackets, and a relevance score. Use controls_get_control to read a hit in full. To look up a known id, call controls_get_control directly instead of searching.

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

Input Schema

NameRequiredDescriptionDefault
queryYesWords to look for in control titles, statements, and discussion. All words must match; if nothing matches, the search retries with any word and says so. A trailing * matches a prefix, for example authent*.
familyNoLimit to one family by its two letters, such as AC.
releaseNoSP 800-53 release to search. Defaults to 5.2.0.
baselineNoLimit to controls in one SP 800-53B baseline.
paginationNo
include_withdrawnNoInclude withdrawn controls. Off by default.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety behavior is covered structurally. The description adds the hit shape (control id, title, family, bracketed snippet, relevance score) and that results are ranked by relevance, which is useful but overlaps an existing output schema. The any-word retry fallback is a genuinely notable behavior but it is documented in the schema, not the description.

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?

Two short paragraphs, front-loaded with purpose, then result shape, then the alternative-tool routing. Every sentence carries actionable information and none is wasted.

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 annotations covering the safety profile and an output schema covering the response, the description only needs to carry purpose and routing, which it does well. The gap is that it never signals the available narrowing filters (family, baseline, release), so an agent skimming the description might not realize scoped search is possible without reading the schema.

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 83% and the query parameter already documents the all-words-match semantics, prefix wildcard, and retry behavior. The description mentions none of the other five parameters (family, release, baseline, pagination, include_withdrawn), so it adds no meaning beyond the schema. Baseline 3 applies.

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 SP 800-53 control text") plus the result intent ("best matches"), and explicitly names the sibling controls_get_control as the read tool. An agent can distinguish search from lookup without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit routing rules in both directions: use controls_get_control to read a hit in full, and call it directly for a known id instead of searching. The when-not case is stated as clearly as the when case.

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