Skip to main content
Glama

Engineering Script

FORMULA

Generic formula calculator with unit conversion and IF-THEN-ELSE

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": {
      "INPUT": "<INPUT>",
      "FORMULA": "<FORMULA>",
      "OUTPUT": "<OUTPUT>"
    },
    "name": "FORMULA"
  }
}

Input Schema

NameRequiredDescriptionDefault
UNITNo
INPUTYes
OUTPUTYes
FORMULAYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior1/5

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

With no annotations provided and no behavioral disclosure in the description, the tool's side effects, safety profile, and error handling are completely opaque. The description only lists capabilities (unit conversion, IF-THEN-ELSE) but does not explain execution behavior, such as whether it returns a single result or mutates anything.

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?

The description is a single concise sentence with no fluff. It states the core purpose and two key features efficiently. While it is under-specified, the conciseness itself is good; it is not verbose or redundant.

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

Completeness1/5

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

Given the tool has 4 nested object parameters, no output schema, and negligible annotations, the description is grossly incomplete. It does not explain how to define formulas, how units are converted, what the INPUT/OUTPUT objects contain, or what the tool returns. An agent could not reliably invoke this tool based on the provided information.

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

Parameters1/5

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

The schema describes all parameters as plain objects with no properties or descriptions, and the description does not mention any parameter names or how INPUT, FORMULA, OUTPUT, and UNIT should be structured. With 0% schema coverage and zero compensation from the description, the agent has no idea what to provide.

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 clearly identifies the tool as a generic formula calculator with unit conversion and IF-THEN-ELSE support. This distinguishes it from the specific sibling calculators (e.g., DVR, ECONOMIC) by implying it handles arbitrary formulas. However, it lacks a strong verb like 'calculates' and is somewhat open-ended.

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?

The description provides no guidance on when to use this tool versus alternatives, no prerequisites, and no examples. It does not mention that it should be used for generic calculations not covered by specialized sibling tools, nor does it offer exclusions.

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