Skip to main content
Glama

Documents Search

documents_search
Read-onlyIdempotent

Search IETF Datatracker documents with optional filters for state (e.g. "active"), type (draft | rfc | charter), or name substring; returns document names, titles, and statuses.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "rfc",
      "limit": 50
    },
    "name": "documents_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNodraft | rfc | charter | conflrev | ...
limitNo1-1000 (default 20).
offsetNo
statesNoComma-sep state ids (e.g. "active").
name__containsNoSubstring filter on the name.

Output Schema

NameRequiredDescriptionDefault
metaNo
objectsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / description
      Previous value: -"draft | rfc | charter | conflrev | …"New value: +"draft | rfc | charter | conflrev | ..."
  2. Changed4 schema fields changed
    • addedOutput schema / properties / objects / items / properties / intended_std_level / description
      Added value: +"(type varies; observed both null and non-null)"
    • removedOutput schema / properties / objects / items / properties / intended_std_level / type
      Removed value: -"null"
    • changedOutput schema / properties / objects / items / properties / pages / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / objects / items / properties / shepherd / type
      Previous value: -"null"New value: +[
      +  "null",
      +  "string"
      +]
  3. Changed6 schema fields changed
    • removedOutput schema / properties / count
      Removed value: -{
      -  "description": "Total number of matching documents",
      -  "type": "number"
      -}
    • addedOutput schema / properties / meta
      Added value: +{
      +  "properties": {
      +    "limit": {
      +      "type": "number"
      +    },
      +    "next": {
      +      "type": "string"
      +    },
      +    "offset": {
      +      "type": "number"
      +    },
      +    "previous": {
      +      "type": "null"
      +    },
      +    "total_count": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / properties / next
      Removed value: -{
      -  "description": "URL to next page of results",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / objects
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "abstract": {
      +        "type": "string"
      +      },
      +      "ad": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "expires": {
      +        "type": [
      +          "null",
      +          "string"
      +        ]
      +      },
      +      "external_url": {
      +        "type": "string"
      +      },
      +      "group": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "number"
      +      },
      +      "intended_std_level": {
      +        "type": "null"
      +      },
      +      "keywords": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "note": {
      +        "type": "string"
      +      },
      +      "notify": {
      +        "type": "string"
      +      },
      +      "pages": {
      +        "type": "number"
      +      },
      +      "resource_uri": {
      +        "type": "string"
      +      },
      +      "rev": {
      +        "type": "string"
      +      },
      +      "rfc": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rfc_number": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "shepherd": {
      +        "type": "null"
      +      },
      +      "states": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "std_level": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "stream": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "submissions": {
      +        "items": {
      +          "type": [
      +            null,
      +            "string"
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "tags": {
      +        "items": {
      +          "type": [
      +            null,
      +            "string"
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "time": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      },
      +      "uploaded_filename": {
      +        "type": "string"
      +      },
      +      "words": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / previous
      Removed value: -{
      -  "description": "URL to previous page of results",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / results
      Removed value: -{
      -  "description": "Array of documents matching the search criteria",
      -  "items": {
      -    "properties": {
      -      "abstract": {
      -        "description": "Document abstract",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Document name",
      -        "type": "string"
      -      },
      -      "pages": {
      -        "description": "Number of pages",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "published": {
      -        "description": "Publication date",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "rfc": {
      -        "description": "RFC number if applicable",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "description": "Document status",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Document title",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Document type",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  4. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "limit": 50,
      +    "type": "rfc"
      +  },
      +  {
      +    "name__contains": "quic",
      +    "states": "active",
      +    "type": "draft"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Paginated documents search results",
      +  "properties": {
      +    "count": {
      +      "description": "Total number of matching documents",
      +      "type": "number"
      +    },
      +    "next": {
      +      "description": "URL to next page of results",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "previous": {
      +      "description": "URL to previous page of results",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "results": {
      +      "description": "Array of documents matching the search criteria",
      +      "items": {
      +        "properties": {
      +          "abstract": {
      +            "description": "Document abstract",
      +            "type": "string"
      +          },
      +          "name": {
      +            "description": "Document name",
      +            "type": "string"
      +          },
      +          "pages": {
      +            "description": "Number of pages",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "published": {
      +            "description": "Publication date",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rfc": {
      +            "description": "RFC number if applicable",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "description": "Document status",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Document title",
      +            "type": "string"
      +          },
      +          "type": {
      +            "description": "Document type",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is fully covered. The description adds the useful detail that results carry names, titles, and statuses, but says nothing about result volume, pagination interaction with limit/offset, or truncation behavior for open-world searches.

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?

A single front-loaded sentence with zero filler; the parenthetical value hints are compact and readable. The only mild cost is that the sentence packs filters and return values together, but 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, the description does not need to enumerate return values, and it still summarizes them. For a 5-parameter, zero-required search tool with readOnly annotations, the main remaining gap is pagination/default-limit guidance, which the schema partly covers (limit 1-1000, default 20).

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 80%, so the schema already documents type, limit, states, and name__contains, and the description mostly restates those same filters. The offset parameter is undocumented in both places, and the description adds no syntax or semantics beyond the schema's own examples.

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 gives a specific verb and resource ('Search IETF Datatracker documents') plus the three filter axes (state, type, name substring) and the returned fields. It is clear enough to distinguish from a single-document fetch sibling like 'document', but it never names that sibling or states the contrast 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 only implied: 'with optional filters' tells the agent that unfiltered calls are valid and that filtering is the point, but there is no statement of when to prefer this over 'document' or 'search_within', nor any exclusions or prerequisites.

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.