Skip to main content
Glama

open_calculator

Read-onlyIdempotent

Opens one of the 23 calculators as an interactive form inside the chat (A2UI screen rendered by the Softwiro view): the person fills the fields, with date pickers and row editors, and presses Run. Use it when the person wants to enter the numbers themselves instead of you passing them. Call list_calculators first for the ids. Read-only, nothing is stored. In hosts without interactive views it returns the calculator's input schema as text.

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": {
      "id": "<id>"
    },
    "name": "open_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCalculator id from list_calculators, for example vat-calculator.
langNoLanguage of the form. Default: Arabic when the request is Arabic, otherwise English.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; 'Read-only, nothing is stored' largely repeats that. The description does add real behavioral context beyond annotations: the interactive form flow with a Run action, and the fallback that non-interactive hosts return the calculator's input schema as text instead.

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?

Front-loaded with purpose, then when-to-use, then the prerequisite, then safety and the fallback. Sentences are short and mostly earn their place; 'Read-only, nothing is stored' is partially redundant with the readOnlyHint annotation and could be trimmed.

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 tool with no output schema, the definition covers purpose, selection criteria, prerequisite, and host fallback behavior. The one unstated piece is what happens after the person presses Run — whether results come back from this tool or require a follow-up call.

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 both parameters and the lang enum default are already documented. The description only reinforces the id's provenance ('Call list_calculators first'), which is useful but adds no syntax or format detail beyond the schema — the baseline for full coverage.

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 opens with a specific verb and resource: 'Opens one of the 23 calculators as an interactive form inside the chat.' It then states the mechanism (A2UI screen, fields, date pickers, row editors, Run) so an agent can distinguish this from run_calculator, which takes numbers passed programmatically.

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

Usage Guidelines5/5

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

It gives an explicit selection condition: use it when the person wants to enter the numbers themselves rather than have the agent pass them. It also states the prerequisite ordering ('Call list_calculators first for the ids'), which prevents a failed call with an unknown id.

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