Skip to main content
Glama

switzerland-parliament-mcp-server

Chparl Get Member

chparl_get_member
Read-onlyIdempotent

Read a Swiss Parliament member by PersonNumber. overview returns identity and every base MemberCouncil affiliation without pagination. Select council_terms for historical council terms, committees for current MemberCommittee memberships, committee_history for every published committee membership, past and current, with its first and last day, or interests for declared interests; those sections accept limit and offset. Missing paid status means unknown, and empty interests do not establish absence of conflicts of interest. Metadata labels remain in the selected language.

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": {
      "personNumber": "<personNumber>"
    },
    "name": "chparl_get_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRelationship sections only: default 20, effective maximum 100 with notice. Omit for overview.
offsetNoRelationship sections only: default zero; continue with nextOffset. Omit for overview.
sectionNooverview (default), council_terms, committees, committee_history, or interests.overview
languageNoMetadata language: de (default), fr, or it; uppercase is accepted.de
personNumberYesRequired positive Int32 PersonNumber as a decimal string; discover with chparl_search_members.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
foundNoWhether a Person matched the requested PersonNumber and language.
noticeNoCombined clamping, size, empty-section, or past-end guidance.
personNoResolved parliamentary identity, including its Person.ID.
hasMoreNoWhether section records remain; false for complete overview affiliations.
sectionNoProfile component returned.
guidanceNoDiscovery guidance when the person is absent.
interestsNoDelivered declared interests; missing paid flags stay unknown, and emptiness does not prove no conflicts of interest.
committeesNoDelivered current committee memberships; past memberships are in section committee_history.
nextOffsetNoStarting offset plus delivered records; absent when exhausted or unpaged.
provenanceNoAttribution, publication status, and source download dates.
totalCountNoExact section count when supplied upstream, or the fully enumerated overview membership count.
membershipsNoComplete base MemberCouncil affiliations in overview; source continuations are drained.
councilTermsNoDelivered complete historical council-term records.
returnedCountNoNumber of profile records returned; omitted for a missing person.
effectiveLimitNoEffective page size, present only for relationship sections.
committeeHistoryNoDelivered committee_history memberships, past and current, oldest first, each with the council recorded for it and its first and last day; a published row can name no committee.
effectiveFiltersNoNormalized profile parameters and defaults for the selected section.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / section / description
      Previous value: -"overview (default), council_terms, committees, or interests."New value: +"overview (default), council_terms, committees, committee_history, or interests."
    • changedInput schema / properties / section / enum
      Previous value: -[
      -  "overview",
      -  "council_terms",
      -  "committees",
      -  "interests"
      -]New value: +[
      +  "overview",
      +  "council_terms",
      +  "committees",
      +  "committee_history",
      +  "interests"
      +]
    • addedOutput schema / properties / committeeHistory
      Added value: +{
      +  "description": "Delivered committee_history memberships, past and current, oldest first, each with the council recorded for it and its first and last day; a published row can name no committee.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One published committee membership, past or current, with the council recorded for it and its dates.",
      +    "properties": {
      +      "abbreviation": {
      +        "description": "Published committee Abbreviation.",
      +        "type": "string"
      +      },
      +      "abbreviation1": {
      +        "description": "Published committee Abbreviation1.",
      +        "type": "string"
      +      },
      +      "abbreviation2": {
      +        "description": "Published committee Abbreviation2.",
      +        "type": "string"
      +      },
      +      "committeeId": {
      +        "description": "CommitteeNumber for reference and business queries; absent on a published row that names no committee.",
      +        "pattern": "^[1-9]\\d*$",
      +        "type": "string"
      +      },
      +      "committeeName": {
      +        "description": "Published committee name.",
      +        "type": "string"
      +      },
      +      "councilAbbreviation": {
      +        "description": "Published council abbreviation.",
      +        "type": "string"
      +      },
      +      "councilId": {
      +        "description": "Published council identifier.",
      +        "pattern": "^[1-9]\\d*$",
      +        "type": "string"
      +      },
      +      "councilName": {
      +        "description": "Published council name.",
      +        "type": "string"
      +      },
      +      "functionId": {
      +        "description": "Published committee-function code.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "functionName": {
      +        "description": "Published committee-function name.",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "MemberCommitteeHistory membership GUID.",
      +        "type": "string"
      +      },
      +      "joinedDate": {
      +        "description": "First day of this committee membership, without an inferred timezone.",
      +        "type": "string"
      +      },
      +      "leftDate": {
      +        "description": "Last day of this committee membership, when published; it can lie in the future, and an open membership has none.",
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "description": "HTTPS OData URL for this membership record.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "sourceUrl"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / committees / description
      Previous value: -"Delivered published committee memberships; not a complete historical committee ledger."New value: +"Delivered current committee memberships; past memberships are in section committee_history."
    • changedOutput schema / properties / effectiveFilters / properties / section / enum
      Previous value: -[
      -  "overview",
      -  "council_terms",
      -  "committees",
      -  "interests"
      -]New value: +[
      +  "overview",
      +  "council_terms",
      +  "committees",
      +  "committee_history",
      +  "interests"
      +]
    • addedOutput schema / properties / interests / items / properties / dateFrom
      Added value: +{
      +  "description": "Published start date (DateFrom) of this declaration, without an inferred timezone.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / person / description
      Previous value: -"Resolved parliamentary identity, including the distinct Person.ID."New value: +"Resolved parliamentary identity, including its Person.ID."
    • changedOutput schema / properties / person / properties / id / description
      Previous value: -"Person.ID, which need not equal PersonNumber."New value: +"Person.ID of this Person record."
    • changedOutput schema / properties / section / enum
      Previous value: -[
      -  "overview",
      -  "council_terms",
      -  "committees",
      -  "interests"
      -]New value: +[
      +  "overview",
      +  "council_terms",
      +  "committees",
      +  "committee_history",
      +  "interests"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses real behavioral quirks: overview is unpaginated, relationship sections accept limit/offset with an 'effective maximum 100 with notice' despite the schema's 10000 ceiling, and continuity is via nextOffset. It also flags data-interpretation caveats (missing paid status means unknown; empty interests do not prove absence of conflicts), which an agent could not infer from annotations or 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?

The purpose is front-loaded and every clause carries information; there is no filler. However, the long semicolon-chained sentence listing sections is dense and slightly harder to scan than a short bulleted routing would be.

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?

An output schema exists, so return shape need not be described. Given that, the description covers everything an agent needs: identifier requirement, section choice semantics, pagination rules, language behavior, and interpretive caveats about the returned data.

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. The description still adds meaning the schema lacks: which sections are paginated versus not, that limit/offset must be omitted for overview, and what each section actually contains, mapping values to data scope rather than just enumerating them.

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 with its key identifier: 'Read a Swiss Parliament member by PersonNumber.' It then enumerates the five sections, so an agent knows exactly what body of data the tool returns and can distinguish a get-by-ID read from the search_* siblings.

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?

The description routes the agent explicitly across alternatives at the section level: overview for identity plus base affiliations, council_terms for historical terms, committees for current memberships, committee_history for all published memberships, interests for declarations. It does not state when to prefer this tool over a sibling such as chparl_search_members, though the schema's personNumber description points there for discovery.

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.