Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEGIFRANCE_API_URLNoOverrides the production Légifrance API URL used by default.
LEGIFRANCE_CLIENT_IDNoPISTE OAuth client id. The Légifrance tools (search_legifrance, read_legifrance_article) are only registered when both LEGIFRANCE_CLIENT_ID and LEGIFRANCE_CLIENT_SECRET are set.
LEGIFRANCE_TOKEN_URLNoOverrides the production PISTE OAuth token URL used by default.
LEGIFRANCE_CLIENT_SECRETNoPISTE OAuth client secret, used with LEGIFRANCE_CLIENT_ID to register the Légifrance tools.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only tools over French public data: companies (Sirene/RNE), property prices (DVF) and, when configured, Légifrance. Answer from the tool results only, cite the 'source' field and report any warning. If a tool returns an error, say so instead of answering from memory.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_companiesA

Search French companies, associations or public bodies (Recherche d'entreprises API).

Returns the total number of matching companies (total_results) and, for the first ones: SIREN, name, status, creation date, NAF activity code, workforce band, head office and whether the company objects to commercial prospecting. For details, use company_profile; to answer "how many", use count_companies. Location filters match companies with at least one establishment there, not only head offices.

count_companiesA

How many French companies match filters (Recherche d'entreprises API). Use it for "how many" questions.

Returns total_results, the number of matching companies, and the filters applied.

company_profileB

Profile of a French company: identity, directors, published financials, labels, collective agreements.

find_municipalityA

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

property_pricesA

House and apartment sale prices in a French municipality (DVF): medians and quartiles per m².

Give the municipality name. Aggregated statistics only (no individual transaction). No data for Alsace, Moselle and Mayotte. Paris, Lyon and Marseille are published per arrondissement: give the arrondissement, e.g. "Marseille 8e arrondissement". Answer only with figures present in the result; check that its municipality is the one asked.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct role: company search, company detail, company count, municipality lookup, and property price statistics. The descriptions explicitly direct users between related tools, such as using search_companies for discovery and company_profile for details, or count_companies for 'how many' questions. There is no meaningful overlap that would cause misselection.

Naming Consistency4/5

All names use snake_case and are readable, but the pattern is not fully uniform: search_companies, count_companies, and find_municipality are verb_noun, while company_profile and property_prices are noun phrases. This is a minor deviation rather than a confusing inconsistency.

Tool Count5/5

Five tools are well-scoped for a focused French open-data server covering company lookup and property price queries. Each tool earns its place, with no redundant endpoints or obvious filler.

Completeness4/5

The surface covers core company discovery, profiling, counting, municipality lookup, and property sale-price statistics. There are minor potential gaps, such as broader open-data domains or non-sale property data, but the main workflows are well supported.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues