Skip to main content
Glama

verify_trig_expression

Read-onlyIdempotent

Recompute a formula that uses trig (sin, cos, tan, asin, acos, atan; degree forms sind, cosd, tand, asind, acosd, atand) and compare it to a target. Signed receipt. Planning and math verification check only — not a licensed professional engineering review, stamp, or sign-off.

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": {
      "expression": "<expression>",
      "expect": "<expect>"
    },
    "name": "verify_trig_expression"
  }
}

Input Schema

NameRequiredDescriptionDefault
expectYes
valuesNo
expressionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Goes beyond the annotations by disclosing that the result comes as a 'Signed receipt', which is real behavioral context the readOnly/idempotent hints do not convey. However it says nothing about tolerance behavior, what happens when the comparison fails, or what the receipt contains, so the mutation-adjacent concerns are only partly covered.

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?

Three sentences, front-loaded with the core action and the trig function set, with the disclaimer isolated at the end. The function enumeration is long but earns its place by defining accepted input; nothing is redundant.

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?

For a tool with 0% schema coverage, an undocumented nested 'values' object, and no output schema, the description is thin — it never explains what values are substituted where, nor what the signed receipt's fields or failure behavior look like. The disclaimer consumes space that would be better spent on the parameter and return semantics.

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% and two of the three parameters are nested objects, so the description carries the full burden. It gives meaning to 'expression' (a trig formula) and implicitly to 'expect' (the target to compare against), but 'values' is never mentioned anywhere and remains entirely opaque.

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?

States a specific verb ('Recompute') plus the exact resource ('a formula that uses trig') and the comparison action against a target. The enumerated function list (sin/cos/tan plus degree forms) makes its domain narrower than siblings like run_formula or verify_math_or_tolerance, though it never explicitly names those siblings to draw the boundary.

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 closing clause 'Planning and math verification check only' implicitly scopes usage, but it functions mainly as a liability disclaimer rather than when-to-use guidance. No alternative tool is named, and an agent gets no rule for choosing this over run_formula or verify_math_or_tolerance.

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