Skip to main content
Glama
rag-mcp-server

rag-mcp-server

by supu02

Search French renting and work rules

search_documents
Read-only

Search official French renting and work rules on service-public.gouv.fr in French or English, returning relevant passages with titles, sections and URLs to cite.

Instructions

Search official French administrative pages (service-public.gouv.fr) on renting and work. Questions can be in French or English. Returns the most relevant passages with their page title, section and URL; cite the URL when you use a passage.

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

Input Schema

NameRequiredDescriptionDefault
kNoNumber of passages to return
queryYesThe question or keywords, in French or English
methodNoRetrieval method; 'auto' is the tuned defaultauto

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/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 is covered. The description adds the retrieval source and passage shape (title, section, URL) plus a citation obligation, but does not mention behavior on empty results, result freshness, or rate limits; and the return shape is partly duplicated by the existing output schema.

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?

Roughly three short clauses with the capability first, then language support, then return shape and citation duty. No filler or restatement of the title.

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?

For a simple two-annotation, three-parameter retrieval tool with an output schema, the description covers source, scope, query language, return content, and citation expectations. Nothing essential to correct invocation 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 description coverage is 100%, so all three parameters (query, k, method) are already documented with defaults, bounds, and enum meaning. The description adds only the language flexibility for the query, leaving k and the retrieval method entirely to the schema, so the baseline 3 applies.

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 (Search), a named resource and source (official French administrative pages, service-public.gouv.fr), and a topical scope (renting and work). An agent immediately knows what this retrieves and from where, which no sibling (date utilities) could be confused with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear usage context: queries may be in French or English, and the agent should cite the URL when a passage is used. There are no exclusions or when-not-to-use notes, but the sibling tools are unrelated date utilities, so no real alternative routing is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools