Skip to main content
Glama

Trigonometry Lab

trig-lab

Explore trigonometric functions and the unit circle. Inputs: func ("sin" | "cos" | "tan"), A (amplitude), omega (angular frequency), phi (phase), k (vertical shift) and unit ("rad" or "deg"). Returns the equation y = A·f(ωx+φ)+k and its features (amplitude, period, phase shift, range). Use this for teaching trigonometry, periodic functions and graph transformations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ANoAmplitude.
kNoVertical shift k.
phiNoPhase φ.
funcNoTrigonometric function.sin
unitNoAngle unit.rad
omegaNoAngular frequency ω.
localeNoUI language for the rendered card.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses the return shape (equation and features) but does not state determinism, side effects, error behavior, or the effect of the locale parameter on rendered output.

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 well-structured paragraph that front-loads purpose, then inputs, returns, and use case. The input list partly repeats schema descriptions, but it remains efficient and readable.

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 7-parameter computational tool with no output schema, the description adequately explains the return values and teaching context. It misses the locale parameter and does not provide sibling routing, but those gaps are minor relative to the schema coverage.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds value by mapping parameters into the formula y = A·f(ωx+φ)+k and explaining what features are derived, though it omits the locale parameter present in the schema.

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 resource (trigonometric functions and the unit circle) and explains what the tool returns (equation and features). It is clear enough for an agent to distinguish from generic graph tools, but it does not explicitly differentiate itself from siblings like function-grapher or geometry-lab.

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

Usage Guidelines4/5

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

It gives explicit intended use: 'Use this for teaching trigonometry, periodic functions and graph transformations.' This is clear context for when to select it, though it names no alternatives or 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