Skip to main content
Glama

x402-roc

Roc: Calculate Rate of Change (ROC) as a percentage over a period. Provide values array and optional period (default 12). 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
periodNo
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / period / description
      Removed value: -"Period to process"
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / period
      Added value: +{
      +  "description": "Period to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add genuinely useful behavioral context by stating the payment model ('5 free trial calls per signed wallet'), but it says nothing about what the result looks like (no output schema exists), what happens with insufficient or malformed input, or how the calculation handles the first period values that have no predecessor.

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 definition is two short sentences, front-loaded with the operation and followed by the input hint and promotional note. The emoji trial-call banner is minor marketing noise but takes little space and conveys real pricing information, so there is no meaningful padding.

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?

With no annotations, no output schema, and 0% schema coverage, the description is the only documentation, yet it omits the input format for the string-encoded values array and any description of the return value. For a numeric-analysis tool in a crowded sibling namespace, this leaves significant gaps an agent would need filled before calling it confidently.

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 0% and both parameters are typed as bare strings, so the description must compensate. It does add meaning by clarifying that 'values' is an array and that 'period' is optional with a default of 12, but it never states the required serialization of 'values' (comma-separated list vs JSON array) despite both fields being declared as strings, leaving a real ambiguity.

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 uses a specific verb and resource ('Calculate Rate of Change (ROC) as a percentage over a period') and explains what ROC means, so the operation is clear. However, it never distinguishes this tool from close siblings such as x402-rate-of-change, x402-percentage-change, or x402-percent-change-array, leaving an agent unable to choose among them from the description alone.

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 only guidance is how to supply input ('Provide values array and optional period (default 12)'), which is parameter instruction rather than when-to-use guidance. There is no statement of when this tool is appropriate versus the many overlapping change/percent siblings, and no prerequisites or exclusions are given.

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