Skip to main content
Glama

switzerland-parliament-mcp-server

Chparl Get Business

chparl_get_business
Read-onlyIdempotent

Read a Swiss parliamentary business by canonical eight-digit businessId or exact published short number. Choose overview for metadata and available text sizes; texts for original published text, automatically outlined when several fields exceed the disclosure budget; or status_history, bills, related_business, preconsultations, or subjects for independently paged relationships. textFields selects complete original fields only in texts, even when large. Paging applies only to relationships. Use subjects to narrow chparl_search_transcripts; source text and HTML remain unchanged.

Input Schema

NameRequiredDescriptionDefault
limitNoRelationships only: requested page size, default 20, clamped to 100.
offsetNoRelationships only: source row offset, default zero; continue with returned nextOffset.
sectionNoReadable section, default overview.overview
languageNoMetadata and business-text variant: de (default), fr, or it.de
businessIdYesCanonical eight-digit businessId from chparl_search_business, or an exact published short number such as 99.1234.
textFieldsNoTexts only: named original fields; empty array means unset.

Output Schema

NameRequiredDescriptionDefault
billsNoLinked bill page; no enacted-law content is inferred.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the requested business metadata row exists.
noticeNoCombined clamping, byte-fitting, empty-section, or past-end guidance.
hasMoreNoWhether selected relationship rows remain; absent for non-collection results.
sectionNoSelected section.
businessNoBusiness summary on every found result, with extra metadata on overview.
guidanceNoDiscovery guidance when the business is missing.
subjectsNoDebate subjects usable in chparl_search_transcripts.
nextOffsetNoOriginal offset plus delivered rows when more remain.
provenanceNoAttribution, publication status, and source download dates.
totalCountNoWhole selected relationship count when supplied by the source.
textDocumentNoOriginal selected texts or automatic field outline.
returnedCountNoComplete relationship rows delivered; absent for overview, texts, or missing business.
statusHistoryNoPublished status history page.
effectiveLimitNoEffective relationship limit after clamping.
relatedBusinessNoRelated business page.
effectiveFiltersNoEffective business identifier, section, selectors, and paging defaults.
preconsultationsNoPublished committee preconsultation page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing non-obvious behavior: texts are 'automatically outlined when several fields exceed the disclosure budget', textFields returns complete fields even when large, and source text/HTML 'remain unchanged'. It stops short of covering error modes or the shape of the returned paging envelope, so not a full 5.

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?

Front-loaded with the action and identifier formats, then section selection, then caveats — a sensible priority order. It is dense with semicolon-chained clauses, which costs a little readability but nothing is redundant.

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 6-parameter tool with full schema descriptions, readOnly/idempotent annotations and an output schema, the description closes the remaining gaps: identifier provenance, section choice, paging scope, and the outlining behavior that would otherwise surprise an agent.

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 schema already documents every parameter and the baseline is 3. The description still adds scoping semantics the schema leaves implicit: textFields applies only to texts, limit/offset only to relationships, and the accepted businessId forms.

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?

Opens with a specific verb+resource ('Read a Swiss parliamentary business') and immediately scopes the accepted identifiers (canonical eight-digit businessId or exact published short number). It then enumerates the section modes, which makes it unmistakable against the search/list siblings.

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?

Gives explicit when-to-use routing per section (overview for metadata/sizes, texts for original text, relationship sections for paged data) and cross-tool guidance ('Use subjects to narrow chparl_search_transcripts'). It also states the constraint that paging applies only to relationships, preventing a common misuse.

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.