Skip to main content
Glama

switzerland-parliament-mcp-server

Chparl List Reference

chparl_list_reference
Read-onlyIdempotent

List Swiss Parliament reference entries and source coverage. Choose identifiers, coverage, or languages for server explanations; statuses for the official legacy/current status snapshot; or business_types, tags, councils, cantons, parties, groups, committees, or sessions for live dictionaries. tags lists the business topic tags; pass a tag id as chparl_search_business tagId. Date filters apply only to sessions and keep a session only when it lies wholly inside the window (StartDate on or after dateFrom, EndDate on or before dateTo): a session that overlaps the window but starts earlier or ends later is excluded. query applies only to committees, parties, and groups: the source matches it as a case- and accent-insensitive substring of each entry label or abbreviation in the selected metadata language, and abbreviations differ by language (WAK-N is CER-N in fr). Follow nextOffset with the same topic, language, query, and dates; labels remain in the requested metadata language and missing labels stay unknown.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRequested page size, default 50; values above 100 are clamped with a notice.
queryNoCommittees, parties, and groups only: substring of the entry label or abbreviation in the selected metadata language, case- and accent-insensitive, trimmed. Totals and nextOffset describe the matching entries.
topicYesReference dictionary or explanatory topic to list.
dateToNoSessions only: inclusive EndDate upper bound, YYYY-MM-DD.
offsetNoStarting row offset, default zero. Use the returned nextOffset to continue.
dateFromNoSessions only: inclusive StartDate lower bound, YYYY-MM-DD.
languageNoMetadata label language: de (default), fr, or it.de

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
itemsNoComplete reference entries delivered on this page.
topicNoReference topic returned.
noticeNoCombined limit-clamp, empty-result, or past-end guidance.
hasMoreNoWhether entries remain beyond this delivered page.
nextOffsetNoOriginal offset plus delivered entries; absent when exhausted.
provenanceNoAttribution, publication status, and source download dates.
totalCountNoWhole-query reference count when the source supplies one.
returnedCountNoNumber of complete entries actually delivered.
effectiveLimitNoEffective row limit after clamping.
effectiveFiltersNoNormalized reference filters and resolved paging defaults.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Requested page size, default 50; values above 100 are clamped with a notice. Whole-item byte fitting may return fewer entries."New value: +"Requested page size, default 50; values above 100 are clamped with a notice."
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Committees, parties, and groups only: substring of the entry label or abbreviation in the selected metadata language, case- and accent-insensitive, trimmed. Totals and nextOffset describe the matching entries.",
      +  "type": "string"
      +}
    • changedInput schema / properties / topic / enum
      Previous value: -[
      -  "identifiers",
      -  "coverage",
      -  "languages",
      -  "business_types",
      -  "statuses",
      -  "councils",
      -  "cantons",
      -  "parties",
      -  "groups",
      -  "committees",
      -  "sessions"
      -]New value: +[
      +  "identifiers",
      +  "coverage",
      +  "languages",
      +  "business_types",
      +  "tags",
      +  "statuses",
      +  "councils",
      +  "cantons",
      +  "parties",
      +  "groups",
      +  "committees",
      +  "sessions"
      +]
    • changedOutput schema / properties / effectiveFilters / properties / offset / description
      Previous value: -"Requested starting row, before any whole-item response-size fitting."New value: +"Requested starting row."
    • addedOutput schema / properties / effectiveFilters / properties / query
      Added value: +{
      +  "description": "Label or abbreviation substring matched in the requested metadata language, if supplied.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / effectiveFilters / properties / topic / enum
      Previous value: -[
      -  "identifiers",
      -  "coverage",
      -  "languages",
      -  "business_types",
      -  "statuses",
      -  "councils",
      -  "cantons",
      -  "parties",
      -  "groups",
      -  "committees",
      -  "sessions"
      -]New value: +[
      +  "identifiers",
      +  "coverage",
      +  "languages",
      +  "business_types",
      +  "tags",
      +  "statuses",
      +  "councils",
      +  "cantons",
      +  "parties",
      +  "groups",
      +  "committees",
      +  "sessions"
      +]
    • changedOutput schema / properties / effectiveLimit / description
      Previous value: -"Effective row limit after clamping; response-size fitting may deliver fewer."New value: +"Effective row limit after clamping."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `incompatible_fields`: Session dates were supplied for another topic, or dateFrom is after dateTo. `upstream_rate_limited`: Parliament returned HTTP 429. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `incompatible_fields`: Session dates were supplied for another topic, query was supplied for a topic other than committees, parties, or groups, or dateFrom is after dateTo. `request_too_long`: query makes the URL-encoded Parliament request longer than its 2048-byte query-string limit. `upstream_rate_limited`: Parliament returned HTTP 429. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "incompatible_fields",
      -  "upstream_rate_limited"
      -]New value: +[
      +  "incompatible_fields",
      +  "request_too_long",
      +  "upstream_rate_limited"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Combined limit, whole-item byte-budget, empty-result, or past-end guidance."New value: +"Combined limit-clamp, empty-result, or past-end guidance."
    • changedOutput schema / properties / topic / enum
      Previous value: -[
      -  "identifiers",
      -  "coverage",
      -  "languages",
      -  "business_types",
      -  "statuses",
      -  "councils",
      -  "cantons",
      -  "parties",
      -  "groups",
      -  "committees",
      -  "sessions"
      -]New value: +[
      +  "identifiers",
      +  "coverage",
      +  "languages",
      +  "business_types",
      +  "tags",
      +  "statuses",
      +  "councils",
      +  "cantons",
      +  "parties",
      +  "groups",
      +  "committees",
      +  "sessions"
      +]
  2. 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 this read-only, idempotent, and open-world, and the description goes well beyond them: it discloses that sessions are kept only when wholly inside the date window, that query matches case- and accent-insensitively on labels or abbreviations, and that labels fall back to 'unknown' when missing. The only omission is any note on response shape or failure modes, which is minor given the output schema.

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?

It is front-loaded with the action and then the topic routing, and nearly every clause carries substantive information. The single dense paragraph with chained semicolons makes some rules harder to scan, but there is little genuine padding to cut.

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?

With seven parameters, an output schema, and rich annotations, the definition covers everything an agent needs: which topic to pick, which filters are valid, how the date containment works, how query matching behaves, and how to page. Return values are correctly left to the output schema.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: the whole-session containment rule is stricter than the schema's per-field 'inclusive bound' wording, and it notes that abbreviations are language-specific (WAK-N vs CER-N) and that pagination requires repeating the same filters. Remaining parameters such as limit and offset are left to the schema.

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 opening sentence names a specific verb and resource ('List Swiss Parliament reference entries and source coverage') and the topic enumeration makes the scope concrete. It also distinguishes itself from siblings by pointing to chparl_search_business for tag lookups, so an agent can route between them without opening either schema.

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 gives explicit topic-to-use-case routing (identifiers/coverage/languages for explanations, statuses for the legacy/current snapshot, the rest for live dictionaries) and states exactly which filters apply where. It also explains how to continue pagination with nextOffset while preserving topic, language, query, and dates.

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.