Skip to main content
Glama
lobbywatch-mcp

lobbywatch-mcp

by malkreide

lobbywatch_search_parlamentarier_nach_branche

Read-onlyIdempotent

Search Swiss parliamentarians by industry or organization name to identify conflicts of interest, and optionally filter results by commission.

Instructions

Find parliamentarians with interessenbindungen matching a search term against the linked organisation's name, alias, and (when available) branche field. Optional commission filter.

Note: the Lobbywatch "essential" dump does not embed a branche taxonomy on each organisation — branche is referenced by id and resolved via the separate interessengruppe table. Version 0.1 therefore performs a substring match against organisation names and the branche field when present. Version 0.2 will add full cross-reference resolution.

Args: branche_query: Substring match (case-insensitive) against organisation.anzeige_name, organisation.name, organisation.branche (where present), e.g. "Verlag", "Pharma", "Bank", "Krankenkasse", "Bildung". kommission: Commission abbreviation to restrict the result to, e.g. "WBK-N" for the education commission of the National Council. limit: Max number of {parlamentarier, ib} pairs returned (1–200).

Use cases: - "Which WBK-N members hold mandates in the publishing industry?" - "Cross-filter Pharma × FK-N to surface health-policy lobbyists" - "List every parliamentarian with a 'Krankenkasse' connection"

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": {
      "branche_query": "<branche_query>"
    },
    "name": "lobbywatch_search_parlamentarier_nach_branche"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
kommissionNo
branche_queryYes

Output Schema

NameRequiredDescriptionDefault
countYes
queryYes
staleNoSet only when the dump could not be refreshed and an older cached copy answered instead. The data may miss changes made since `stale.cached_at` — say so when relaying it.
sourceNoData: Lobbywatch.ch — CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Not an official register; community-researched records.
trefferNoList of {parlamentarier, interessenbindung} pairs matching the branche
provenanceYesWhich endpoint / dump the payload came from

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.8
    • addedOutput schema / $defs / StaleDump
      Added value: +{
      +  "description": "The weekly dump could not be refreshed; an older cached copy answered.",
      +  "properties": {
      +    "age_seconds": {
      +      "description": "Age of the answering copy",
      +      "title": "Age Seconds",
      +      "type": "integer"
      +    },
      +    "cached_at": {
      +      "description": "When the answering copy was downloaded (UTC, ISO 8601)",
      +      "title": "Cached At",
      +      "type": "string"
      +    },
      +    "reason": {
      +      "description": "Why the refresh failed",
      +      "title": "Reason",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "cached_at",
      +    "age_seconds",
      +    "reason"
      +  ],
      +  "title": "StaleDump",
      +  "type": "object"
      +}
    • addedOutput schema / properties / stale
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/StaleDump"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Set only when the dump could not be refreshed and an older cached copy answered instead. The data may miss changes made since `stale.cached_at` — say so when relaying it."
      +}
  2. First observedv0.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, yet the description still adds real behavioral context: the match is a case-insensitive substring over organisation names and the branche field where present, and the current 0.1 implementation cannot resolve branche ids via interessengruppe. That limitation disclosure materially affects result interpretation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The Args and Use cases sections are well front-loaded and earn their place, but the paragraph about version 0.1 vs. a planned 0.2 adds roadmap narrative that is tangential to calling the tool today. The definition is longer than it needs to be for three parameters.

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?

An output schema exists, so return values need not be described, and the description still notes the pair shape ({parlamentarier, ib}). Combined with the disclosed substring/version limitation and full parameter coverage, the agent has what it needs; the undefined 'ib' abbreviation and unstated default are minor gaps.

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?

With 0% schema description coverage the description carries the burden and largely succeeds: branche_query is documented with its matching fields and examples ('Verlag', 'Pharma'), kommission with a concrete abbreviation ('WBK-N'), and limit as the max number of pairs returned. It omits the limit default (25) and maxLength constraints, so it stops short of a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource: find parliamentarians whose interessenbindungen match a term across an organisation's name/alias/branche. It is clearly a search over mandate links rather than a plain parliamentarian lookup, but it never names a sibling (e.g., lobbywatch_list_interessenbindungen or lobbywatch_get_parlamentarier) to route the agent between them.

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?

Three concrete use cases establish the intended context (e.g., 'Which WBK-N members hold mandates in the publishing industry?'), and the kommission/branche combination is explained. However, there is no explicit when-not or alternative-tool guidance, so the agent must infer boundaries with the sibling list/search tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.