Skip to main content
Glama

Search (ChatGPT)

search
Read-onlyIdempotent

Zoekt in de Handelingen van de Tweede Kamer (alle woorden moeten erin staan) en naar Kamerleden. Geeft resultaten met id, titel en url; haal de tekst op met fetch. Gebruik voor fijnere vragen zoek_tekst.

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

Input Schema

NameRequiredDescriptionDefault
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, closed world), so the description's real contribution is disclosing the AND-matching rule ("alle woorden moeten erin staan") and the shape of the return value (id, titel, url). That is substantive behavior beyond the structured fields; it stops short only of saying how many results come back or how ranking works.

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?

Three short clauses, front-loaded with what is searched, then what comes back, then where to go next. Every sentence adds a distinct operational fact and there is no filler.

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 one required parameter, annotations covering the safety profile, and no output schema, the description does the necessary work by describing the return fields and the follow-up step. Remaining gaps are result limits, pagination, and how MP results differ from Handelingen results, which matter for a dual-corpus search.

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 description coverage is 0% for the single `query` parameter, so the description must carry the meaning, and it does: the query is a space-separated set of words that must ALL be present. That is a genuine semantic constraint an agent would otherwise get wrong (e.g. by assuming OR matching). It does not specify phrasing, quoting, or language behavior.

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 concrete resources: searching the Handelingen of the Tweede Kamer and Kamerleden, and specifies that results carry id, titel and url. It also distinguishes itself from the two siblings it is most likely to be confused with (fetch for full text, zoek_tekst for finer queries), so an agent can tell it apart without opening any 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?

Explicitly routes the agent: use fetch to retrieve the actual text, and use zoek_tekst when the question is finer-grained. It also discloses the retrieval constraint (results are metadata-only, not the document body), which tells the agent when this tool alone is insufficient.

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