Skip to main content
Glama

把彈簧物理參數

spring_to_css_linear
Read-onlyIdempotent

把彈簧物理參數(stiffness、damping、mass)模擬後轉成 CSS linear() 緩動函式與建議時間。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spring_to_css_linear"
  }
}

Input Schema

NameRequiredDescriptionDefault
massNo
dampingNo
stiffnessNo

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?

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds that the result includes a suggested duration alongside the linear() function, which is genuinely useful output context. It omits important behavior: no parameter units, no defaults, and no statement of what happens when the (all-optional) parameters are omitted.

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 front-loaded sentence that names the inputs and the outputs with no filler or redundancy. Its brevity borders on under-specification rather than verbosity, but the structure itself is clean.

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 partially compensate by naming the return values: a CSS linear() easing function and a suggested duration. However, for a computation tool whose correctness depends entirely on input units and defaults, the definition leaves those undefined, so an agent cannot reliably invoke it with meaningful numbers.

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% across three parameters, so the description must carry the burden and largely does not. It merely repeats the property names stiffness, damping, and mass without units, valid ranges, physical interpretation, or default values. Since all three are optional, an agent gets no guidance on what an omitted value means.

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 concrete verb and resource: simulate spring physics parameters and convert them into a CSS linear() easing function plus a suggested duration. That is a specific transformation, not tautology. It does not, however, differentiate itself from the sibling generate_easing, which plausibly produces easing output too.

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 must be inferred: an agent can deduce that this tool applies when it has spring constants and wants CSS output, since the input and output types are named. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as generate_easing or generate_keyframes for non-spring easing.

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