Skip to main content
Glama

Riksdag & Regering

Hämta anförande

get_anforande
Read-onlyIdempotent

Hämta hela texten till ett anförande i kammaren. Använd dok_id och anforande_nummer från search_anforanden.

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": {
      "dok_id": "<dok_id>",
      "anforande_nummer": "<anforande_nummer>"
    },
    "name": "get_anforande"
  }
}

Input Schema

NameRequiredDescriptionDefault
dok_idYesProtokollets id, t.ex. "HD09157".
anforande_nummerYesAnförandets nummer i protokollet, t.ex. 121.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds only that the whole speech text is returned ("hela texten"); there is no output schema, so information about size, truncation, or missing-record behavior is absent. This is adequate but thin beyond the annotations.

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?

Two short sentences with zero padding. The action and scope come first, followed by the sourcing constraint, so nothing needs re-reading.

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?

For a two-parameter read-only getter with full schema coverage and strong annotations, the definition covers what is needed to call it correctly. The only remaining gap is return-shape detail, which matters slightly more here because no output schema exists.

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% and both parameters already document format and examples ("HD09157", "121"). The description adds real value beyond the schema by stating the provenance of these values, namely that they come from search_anforanden, which guides correct value sourcing.

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 states a specific verb and resource ("Hämta hela texten till ett anförande") and makes clear that this returns full text rather than search results, which separates it from search_anforanden. It stops short of an explicit contrast statement, but the scope is unambiguous.

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?

It tells the agent where the two required identifiers come from ("Använd dok_id och anforande_nummer från search_anforanden"), which implies the natural workflow: search first, then fetch full text. There is no explicit when-not-to-use guidance or mention of failure behavior for bad ids.

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.