Skip to main content
Glama

IA-Asso.fr — French Associations Registry

search_near_location

Read-only

Find associations near a specific city or postal code in France, optionally filtered by theme. Performs geographic search to return associations in the specified area, automatically widening to nearby communes (±25 km) when the exact area has no match. Useful for location-based queries like "AMAP near Les Hayes 41800" (query="amap", location="41800") or "chess clubs in Lyon" (query="échecs", location="Lyon").

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": {
      "location": "<location>"
    },
    "name": "search_near_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return (default: 20, max: 100)
queryNoOptional theme or keyword to search near the location (e.g., "amap", "échecs", "théâtre"). Without it, all associations of the area are returned.
radiusNoSearch radius in kilometers (default: 10, max: 50)
locationYesONLY the place: city name (e.g., "Lyon", "Les Hayes") or postal code (e.g., "69001", "41800"). Put the theme in `query`, never here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / location / description
      Previous value: -"City name (e.g., \"Lyon\", \"Paris\") or postal code (e.g., \"69001\", \"75001\")"New value: +"ONLY the place: city name (e.g., \"Lyon\", \"Les Hayes\") or postal code (e.g., \"69001\", \"41800\"). Put the theme in `query`, never here."
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Optional theme or keyword to search near the location (e.g., \"amap\", \"échecs\", \"théâtre\"). Without it, all associations of the area are returned.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses a non-obvious behavior: results automatically widen to nearby communes (±25 km) when the exact area has no match. That is exactly the kind of fallback an agent needs to know to interpret sparse results. It slightly conflicts in spirit with the schema's `radius` parameter (default 10, max 50), which the description does not reconcile.

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?

The core behavior is front-loaded in one sentence, followed by a compact behavioral note and two examples. The examples are somewhat verbose but each earns its place by disambiguating the query/location split.

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 read-only search with a fully documented four-parameter schema and no output schema; the description covers purpose, fallback behavior, and the query/location distinction. Nothing essential to invoking it correctly 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 coverage is 100% and the schema already says 'Put the theme in `query`, never here' and documents limit/radius defaults and caps, so the description adds little parameter meaning. The ±25 km auto-widening note is the only extra semantic, and it muddies rather than clarifies how `radius` behaves.

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+resource+scope: 'Find associations near a specific city or postal code in France, optionally filtered by theme.' This clearly separates it from a pure keyword search, but it never names the sibling search_associations, so the agent must infer the boundary itself.

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?

Two worked examples ('AMAP near Les Hayes 41800', 'chess clubs in Lyon') make the intended usage pattern concrete, which is genuine guidance. However, there is no statement about when NOT to use it or which sibling tool to prefer for non-geographic searches, so the routing decision is only implied.

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