Skip to main content
Glama

Sähködiili.fi – Finnish Electricity Comparison

Hae sähkösopimuksen tarkat tiedot

get_contract_details
Read-onlyIdempotent

Hakee yksittäisen sähkösopimuksen tarkan 12 kuukauden kustannuserittelyn, hintajaksot, kampanjaehdot, vahvistuslainauksen ja virallisen lähde-URL:n sopimustunnuksella.

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": {
      "contractId": "<contractId>"
    },
    "name": "get_contract_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNoKulutusprofiili laskennalle.apartment
contractIdYesSopimuksen tunniste (id), esim. vertailutuloksesta saatu contract id.
consumptionKwhNoVuosikulutus kWh kustannuserittelyä varten (100–100 000 kWh).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so safety is covered. Because there is no output schema, the description carries the return-value burden and does it well by naming the payload components (cost breakdown, price periods, campaign terms, confirmation quote, source URL). It omits that the breakdown is computed from the profile/consumptionKwh inputs and says nothing about error behavior for an unknown id.

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?

A single front-loaded sentence with the verb and lookup key first, followed by the return contents. It is dense but every enumerated item (price periods, campaign terms, source URL) is informative rather than filler; only the list is long enough to become slightly hard to scan.

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

Completeness3/5

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

For a read-only lookup with full schema coverage and no output schema, the definition covers what comes back, which is the main gap it needed to fill. It falls short on workflow context (where the contractId comes from, when to prefer this over the comparison tool) and on how the two optional cost parameters affect the result.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters (contractId, profile, consumptionKwh) are already documented with enums, defaults and ranges. The description only echoes that lookup is by contract ID and adds no meaning about how profile or consumptionKwh change the returned 12-month breakdown, so the baseline 3 applies.

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 ('Hakee yksittäisen sähkösopimuksen' = fetches a single electricity contract) and enumerates exactly what the payload contains: 12-month cost breakdown, price periods, campaign terms, confirmation quote and official source URL. It clearly is the detail-lookup counterpart to compare/get tools, but it never names a sibling, so differentiation is inferred from the 'single contract by ID' framing rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite statement and no named alternative (e.g. use compare_electricity_contracts to find an ID first). The only usage cue is indirect: the contractId parameter description in the schema mentions 'vertailutuloksesta saatu contract id', which lives outside the description text itself.

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.