Skip to main content
Glama

calculate_project_premie

Read-onlyIdempotent

Som van basispremies voor één Vlaamse woning; groepeert facturen en past plafonds één keer toe. Alleen subsidiabele bedragen excl. btw, zonder verhogingen.

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": {
      "category": "<category>",
      "items": "<items>"
    },
    "name": "calculate_project_premie"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
categoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses two genuinely useful behaviors: invoices are grouped and caps are applied only once, and only non-VAT subsidizable amounts count. It still says nothing about what happens with invalid or over-cap inputs, nor about error behavior.

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 dense sentence with three clauses, each carrying distinct information (scope, cap grouping, amount rules). No filler, and the definition is front-loaded with the core operation.

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?

There is no output schema, and the description does convey that the result is a summed, capped premium amount, which is adequate for a pure calculation tool. The gap is the unexplained category and work-type parameters, which an agent cannot infer from either the description or the schema.

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 0%, so the description must compensate. It clarifies that the invoice amounts must be exclusive of VAT and subsidizable, which helps with `items[].invoice`, but the `category` integer (1-4) and the `work` enum values (dak, muur, wp-lw, ...) are left entirely unexplained.

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 names a concrete operation on a concrete resource: summing base premiums ('basispremies') for a single Flemish dwelling, and scopes it to subsidizable amounts excluding VAT and excluding increases. It does not, however, distinguish this from the sibling `calculate_premie`, which an agent would plausibly confuse it with.

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?

Usage is implied rather than stated: 'één Vlaamse woning', 'basispremies' and 'zonder verhogingen' indirectly tell the agent this is the single-dwelling, base-only path, but no alternative tool is named and no explicit when-not condition is given.

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.

Resources