Skip to main content
Glama

Check & Vote: French and EU parliaments

Get a decree or ordinance

get_decree
Read-onlyIdempotent

Get one decree or ordinance published in the Journal officiel: visas, notice, articles, signatories and the laws it applies. Use it after search_texts (kind DECREE) or list_bill_decrees. Long articles are cut: the 'truncated' field says so.

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

Input Schema

NameRequiredDescriptionDefault
decreeIdYesDecree identifier, from search_texts (kind DECREE) or list_bill_decrees.

Output Schema

NameRequiredDescriptionDefault
idNoIdentifier.
eliNoELI identifier.
norNoNOR identifier.
titleNoShort title.
visasNoThe visas (recitals) of the decree.
jorfIdNoJORF identifier.
natureNoDECREE or ORDINANCE; null for any other value of the source.
noticeNoThe notice that accompanies the decree.
numberNoNumber, as published.
relatedNoCalls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.
articlesNoThe articles.
ministryNoMinistry.
appliesToNoThe laws this decree applies, with the matching bill when known.
fullTitleNoFull title.
sourceUrlNoURL of the source.
truncatedNoPresent when this answer was shortened to stay short: says what was cut and how to get the rest.
longSummaryNoLong summary.
signatoriesNoThe signatories.
summaryIsAiNoTrue when the summary was written by an AI model.
shortSummaryNoShort summary.
summaryModelNoModel that wrote the summary, when machine-written.
signatureDateNoDate of signature.
publicationDateNoDate of publication.
publicationOriginNoWhere it was published.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / Decree / properties / related
      Added value: +{
      +  "description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
      +  "items": {
      +    "$ref": "#/$defs/RelatedCall"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / $defs / RelatedCall
      Added value: +{
      +  "description": "A call that naturally follows the one that returned it.",
      +  "properties": {
      +    "description": {
      +      "description": "What this call returns.",
      +      "type": "string"
      +    },
      +    "href": {
      +      "description": "Path to call, identifiers filled.",
      +      "type": "string"
      +    },
      +    "operation": {
      +      "description": "operationId of the call, as in the OpenAPI.",
      +      "type": "string"
      +    },
      +    "tool": {
      +      "description": "Name of the MCP tool that makes this call; null when no tool does.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / related
      Added value: +{
      +  "description": "Calls that naturally follow this one, with identifiers already filled: the operation, the MCP tool that makes it (null when none) and the path to call.",
      +  "items": {
      +    "$ref": "#/$defs/RelatedCall"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: the returned field set and the important caveat that long articles are cut with a 'truncated' flag, warning the agent that article text may be incomplete.

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 tight sentences with zero filler, front-loaded with what the tool returns, then the routing prerequisite, then the truncation caveat. Every clause carries information the agent needs.

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 one-parameter read tool with an output schema and full annotation coverage, the description covers the ID source, the payload contents, and the truncation behavior. Nothing essential for correct invocation is missing, and return-value detail is rightly left to the output schema.

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 single decreeId parameter is already documented in the schema as coming from search_texts (kind DECREE) or list_bill_decrees. The description repeats that provenance but adds no format, range, or error semantics beyond the schema, so the baseline of 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 and resource ("Get one decree or ordinance published in the Journal officiel") and enumerates exactly what the record contains: visas, notice, articles, signatories, and the laws it applies. This lets an agent distinguish it from text-oriented siblings like get_text or get_amendment without opening the schema.

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?

Explicitly tells the agent to use this after search_texts (kind DECREE) or list_bill_decrees, which establishes both the prerequisite pipeline and the accepted ID source. It lacks an explicit when-not clause (e.g., for bills or amendments use get_bill/get_amendment), so it falls one step short of the top score.

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