Skip to main content
Glama

Search (ChatGPT)

search
Read-onlyIdempotent

Recherche dans les programmes officiels de la présidentielle 2027. Renvoie des sections pertinentes (id, titre, url).

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

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is fully covered. The description adds the return payload (id, titre, url), which is genuinely useful, but says nothing about ranking, how many sections come back, or what happens on an overly broad query.

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 sentences, zero filler, and the corpus is front-loaded before the return-value clause. Nothing repeats the annotations and nothing could be cut without losing information.

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?

A one-parameter read-only search with annotations covering safety and an explicit return-field list is adequately specified for correct invocation. What remains unstated (result count, ranking) is secondary for a lookup tool with no output 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 0% for the single parameter, so the description must carry the load. Saying it searches "dans les programmes" does imply that query is matched against program text rather than being an id or filter, but it gives no detail on matching mode, language expectations, or how the 2-200 character bounds should be used.

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 ("Recherche") and a specific corpus ("programmes officiels de la présidentielle 2027"), plus the shape of what comes back (id, titre, url). It stops short of distinguishing this from the near-identical sibling "rechercher", so an agent must still guess between them.

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?

The corpus is named, which implicitly tells the agent this is the tool for keyword lookup across party programs. There is no explicit when-to-use versus when-not statement, no mention of when to prefer lire_section, lire_mesures or rechercher, and no stated prerequisite or query-construction guidance.

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.