Skip to main content
Glama

Rechercher une page

rechercher_pages
Read-only

Trouve les pages thématiques du site (eau, bus, risques, écoles, santé, urbanisme…) correspondant à une question.

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": {
      "texte": "<texte>"
    },
    "name": "rechercher_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
texteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope of the corpus are covered structurally. The description adds that the index is limited to thematic site pages, but says nothing about how many results come back, ranking, or what a match looks like.

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?

One sentence, front-loaded with the verb and resource, with the theme examples doing useful disambiguation work. Nothing is redundant, though the brevity leaves gaps rather than filling them.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read-only search with annotations covering the safety profile, the definition is serviceable but thin. It never indicates what the agent receives back (a list of pages? links? snippets?), which matters for deciding whether to chain into a page-fetching step.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 "texte", so the description carries the burden and largely drops it; only the indirect phrase "correspondant à une question" hints that the input is free natural language rather than a keyword or slug. It gives no guidance on phrasing, language, or matching behaviour.

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 concrete verb ("Trouve") and a concrete resource ("pages thématiques du site") and enumerates example themes, so an agent knows this is a site-page search rather than a data query. It does not explicitly contrast itself with the sibling "rechercher_deliberations", which is the main rival for a similar-looking query.

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 phrase "correspondant à une question" implies this is the tool for answering free-form questions about site topics, which gives implicit usage guidance. There is no explicit statement of when to prefer it over the sibling search or bus/agenda tools, nor any precondition or exclusion.

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