Skip to main content
Glama

find_municipality

Read-only

Look up the INSEE code for a French municipality by name, optionally using a postcode to disambiguate. Use the result with property-price and company-search tools.

Instructions

Find the INSEE code of a French municipality. property_prices and search_companies also accept the name.

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

Input Schema

NameRequiredDescriptionDefault
nameYesMunicipality name, e.g. Lille or Lyon 3e arrondissement.
postcodeNoPostcode to disambiguate (optional).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-lookup behavior are covered. The description adds that the output is an identifier (INSEE code) rather than prices or company data, but says nothing about behavior when a name matches several municipalities, when no match exists, or when the optional postcode should be supplied.

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, no filler, with the core purpose front-loaded before the cross-tool note. Nothing could be removed without losing information.

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?

An output schema exists and the parameters are fully described, so the description need not explain return values or inputs. For a two-parameter lookup with annotations, it is nearly complete; only the ambiguous-match and no-match behavior is left unstated.

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% and both parameters are documented in the schema, including the disambiguation role of postcode and the 'Lyon 3e arrondissement' style example. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 and resource: it resolves a French municipality name to its INSEE code. That is far more precise than the title alone, though it never contrasts its scope with a true alternative tool — the sibling mention is about those tools accepting names, not about when this one is the right choice.

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?

Implies usage by noting that property_prices and search_companies also accept the name, which suggests this lookup is mainly needed for tools that require an INSEE code. However, it never says explicitly when to call it, when to skip it, or which downstream consumer requires the code, so the agent must infer the routing rule.

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