Skip to main content
Glama
malkreide

swiss-electricity-mcp

by malkreide

tariff_get_median_canton

Read-only

Retrieve the median electricity tariff for a Swiss canton to benchmark a municipality against the cantonal average.

Instructions

Get cantonal median electricity tariff. Useful to position a municipality against its canton. Pass canton name in German (e.g. 'Zuerich', 'Bern').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cantonYesCanton name in German
categoryNo
period_toNo
period_fromNo
response_formatNomarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds the constraint that canton names must be in German, which is useful, but does not disclose additional behavioral traits beyond what annotations provide. No contradictions with 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?

The description is very concise at three sentences, with the purpose stated first, followed by usage context and a parameter hint. No fluff or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 parameters and only one partially explained, the description leaves out important details (e.g., what limit does, filtering options for category/period). The output schema exists but is not referenced. Overall, the description is too sparse for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% (only canton has a description). The description adds guidance for the canton parameter (German name examples) but offers no help for the other 5 parameters (limit, category, period_from, period_to, response_format). Given low coverage, the description should compensate more.

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 description states the tool gets the cantonal median electricity tariff, with a specific verb and resource. It also explains its usefulness for positioning a municipality against its canton, distinguishing it from sibling tools like tariff_get_median_swiss or tariff_get_by_municipality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context (positioning a municipality) but does not explicitly state when to use this tool versus alternatives like tariff_get_median_swiss. No direct comparison or exclusion criteria are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/swiss-electricity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server