Skip to main content
Glama

Discover held EU legislation

list_instruments
Read-onlyIdempotent

Use this to discover which EU instruments are held before a coverage question, or find their registry ids and legal status. Paginated, filterable by status, category, core/supplementary, and by whether an instrument was in force on a given date. For corpus-coverage questions, filter by category here, enumerate each instrument with list_provisions, then open what you need with get_provision.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_instruments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
statusNoLegal status at the release, e.g. "in_force".
is_coreNo
categoryNo
in_force_on_dateNoISO date; keeps instruments in force on that date.

Output Schema

NameRequiredDescriptionDefault
dataYes
tierNo
errorYes
coverageYes
warningsYes
paginationYes
provenanceYes
derivationsYes
corpus_releaseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / tier
      Added value: +{
      +  "enum": [
      +    "public",
      +    "licensed"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "instrument_id": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "instrument_id"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_cursor": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "next_cursor",
      -      "total"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "celex": {
      +              "description": "The CELEX of the text served; null where that text has none, as for a Council document.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "instrument_id": {
      +              "type": "string"
      +            },
      +            "proposal_celex": {
      +              "description": "The Commission proposal's CELEX where the instrument began as one. It identifies the proposal, not the text served, unless the text served is the proposal.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "source_document": {
      +              "description": "The document the served text is taken from, as its provenance records it; null where none is recorded.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "text_state": {
      +              "description": "`consolidated`: a EUR-Lex consolidation. `as_adopted`: an enacted act's own text, amendments not incorporated. `council_position_text`: the text of the position the Council adopted at first reading, which is not law. `proposal_text`: a Commission proposal's text, which is not law. Not a legal status; see `legal_status_at_release`.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "instrument_id",
      +            "celex",
      +            "proposal_celex",
      +            "source_document",
      +            "text_state"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "next_cursor",
      +      "total"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed8 schema fields changed
    • addedInput schema / properties / category / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / category / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / cursor / anyOf
      Added value: +[
      +  {
      +    "maxLength": 512,
      +    "pattern": "^[A-Za-z0-9_-]+$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / cursor / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / in_force_on_date / anyOf
      Added value: +[
      +  {
      +    "maxLength": 32,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / in_force_on_date / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / status / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / status / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  4. Changed12 schema fields changed
    • removedInput schema / properties / category / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / category / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / cursor / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / cursor / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / in_force_on_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / in_force_on_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / is_core / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / is_core / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / status / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / status / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "instrument_id": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "instrument_id"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_cursor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "next_cursor",
      -      "total"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "instrument_id": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "instrument_id"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "next_cursor",
      +      "total"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / pagination / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "next_cursor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "complete",
      -      "next_cursor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "complete",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. First observed

TDQS

A4.6/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 behavior, so the description's burden is lighter; it adds that results are paginated and which filters narrow them. It does not mention default page size, maximum limit, or cursor lifetime, which are the remaining behavioral unknowns for a paginated list tool.

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?

Three sentences, each earning its place: purpose and outputs first, capability summary second, task workflow third. No repetition of schema or annotation content, and the key routing information is front-loaded.

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?

With an output schema present, return values need no explanation, and the read-only annotations cover safety, so the description is nearly complete for a six-parameter list tool. The only shortfall is lack of detail on pagination mechanics and defaults, which matters for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, so the description has to carry weight, and it does: it explains status, category, core/supplementary (mapping naturally to is_core), and in-force-on-date as mutually usable filters. Only limit and cursor are left at the bare word 'paginated' with no guidance on ranges or continuation semantics.

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?

The description names a specific verb-plus-resource (discover which EU instruments are held) and two concrete outputs (registry ids and legal status). It also implicitly separates this tool from list_provisions and get_provision by assigning them enumeration and retrieval roles in the same sentence.

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

Usage Guidelines5/5

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

It states exactly when to call this tool (before a coverage question, or to obtain ids/status) and gives an explicit three-step workflow: filter by category here, enumerate with list_provisions, then open with get_provision. The alternative tools and the condition that selects each are named rather than inferred.

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