Skip to main content
Glama

Search HTTP standard clauses (exact RFC quotes)

search_clauses
Read-onlyIdempotent

Search HTTP requirements, caching rules, headers and status-code semantics in RFCs 9110–9114 (HTTP semantics, caching, HTTP/1.1, HTTP/2, HTTP/3) by concept, words, RFC section or stable id. Each result carries quote_official: the exact official RFC text, plus conditions, exceptions, related clauses and errata. When to use: Use when you must answer what an HTTP standard requires (MUST/SHOULD/MAY) and cite it. Cite quote_official to the letter, including spaces and newlines; null means no verified text, so do not invent one. Use get_clause for more context on one result and cite_source for a citation with a stable link. Notes: No account or token needed. At most 5 groups; ranked results and companion groups each have a 48,000-character text budget; truncation is explicit. Example arguments: {"query":"must-revalidate when origin is unreachable","limit":5}

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_clauses"
  }
}

Input Schema

NameRequiredDescriptionDefault
rfcNoOnly this RFC, e.g. 9111 or 'RFC 9111'.
limitNoPositive ranked-result count (default 5, capped at 50); numeric strings are accepted.
queryYesHTTP concept, words, 'RFC 9111 5.2.2.2' or a stable clause id (English or Italian).
expandNoAdd companion clauses from the same section and linked references (default true).
keywordNoOnly clauses with this BCP 14 keyword (case-insensitive, e.g. MUST or must).
addresseeNoOnly clauses addressed to this party, e.g. 'cache', 'origin server', 'client'.
expansion_limitNoMaximum companion clauses, 1–48 (default 24).

Output Schema

NameRequiredDescriptionDefault
limitNo
totalNo
corpusNo
erroreNo
expandNo
groupsNo
rankingNo
resultsNo
contrattoNo
messaggioNo
expansion_limitNo
results_truncatedNo
status_originarioNo
expansion_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • changedInput schema / properties / keyword / description
      Previous value: -"Only clauses with this BCP 14 keyword."New value: +"Only clauses with this BCP 14 keyword (case-insensitive, e.g. MUST or must)."
    • removedInput schema / properties / keyword / enum
      Removed value: -[
      -  "MUST",
      -  "MUST NOT",
      -  "REQUIRED",
      -  "SHALL",
      -  "SHALL NOT",
      -  "SHOULD",
      -  "SHOULD NOT",
      -  "RECOMMENDED",
      -  "NOT RECOMMENDED",
      -  "MAY",
      -  "OPTIONAL"
      -]
    • addedInput schema / properties / limit / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "pattern": "^\\d+$",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / limit / default
      Removed value: -5
    • changedInput schema / properties / limit / description
      Previous value: -"Ranked results, 1–50 (default 5)."New value: +"Positive ranked-result count (default 5, capped at 50); numeric strings are accepted."
    • removedInput schema / properties / limit / maximum
      Removed value: -50
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • removedInput schema / properties / limit / type
      Removed value: -"integer"
    • addedInput schema / properties / rfc / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "pattern": "^(?:RFC\\s*)?\\d+$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / rfc / description
      Previous value: -"Only this RFC number, e.g. 9111."New value: +"Only this RFC, e.g. 9111 or 'RFC 9111'."
    • removedInput schema / properties / rfc / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / rfc / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / rfc / type
      Removed value: -"integer"
  2. Changed7 schema fields changed
    • addedInput schema / properties / addressee / description
      Added value: +"Only clauses addressed to this party, e.g. 'cache', 'origin server', 'client'."
    • addedInput schema / properties / expand / description
      Added value: +"Add companion clauses from the same section and linked references (default true)."
    • addedInput schema / properties / expansion_limit / description
      Added value: +"Maximum companion clauses, 1–48 (default 24)."
    • addedInput schema / properties / keyword / description
      Added value: +"Only clauses with this BCP 14 keyword."
    • addedInput schema / properties / limit / description
      Added value: +"Ranked results, 1–50 (default 5)."
    • addedInput schema / properties / query / description
      Added value: +"HTTP concept, words, 'RFC 9111 5.2.2.2' or a stable clause id (English or Italian)."
    • addedInput schema / properties / rfc / description
      Added value: +"Only this RFC number, e.g. 9111."
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses no-auth requirements, a 5-group cap, a 48,000-character text budget per group, and that truncation is explicit. It also explains the critical quote_official null semantics, which prevents fabricated citations.

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?

Front-loaded with purpose, then clearly labeled 'When to use', 'Notes', and 'Example arguments' sections. Every sentence carries actionable information, including the citation-fidelity warning, with no filler.

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, yet the description still usefully flags the quote_official field and its null case, plus budget/truncation behavior. For a 7-parameter search tool with full schema coverage, 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.

Parameters3/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; the description adds only an example argument pair (query + limit) and the 'at most 5 groups' note, which does not map cleanly onto the limit parameter's 50-result cap. It does not clarify rfc, keyword, addressee, or expansion_limit beyond the schema.

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 HTTP requirements/clauses) and pins the scope to RFCs 9110–9114 with the searchable dimensions (concept, words, section, stable id). It also implicitly separates itself from get_clause and cite_source by describing itself as the search entry point.

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?

The 'When to use' block gives an explicit trigger (answering what an HTTP standard requires and citing it) and names the alternatives: get_clause for more context on one result, cite_source for a stable-link citation. Exclusions and routing are both present.

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