Skip to main content
Glama

x402-rotate

Rotate: Rotate an array left by k positions. Provide values and optional k (default 1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNoK to process
valuesNoValues to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / k
      Added value: +{
      +  "description": "K to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It states the rotation direction and the default value of k, which is useful, but says nothing about the return shape, the encoding of the input array, whether k may be negative, or how out-of-range k is handled.

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?

Two short sentences, front-loaded with the action and default. The leading 'Rotate:' label restates the tool name and is mildly redundant, but the rest is dense and waste-free.

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 output schema, no annotations, and both parameters typed as bare strings, the description should explain the input encoding (comma-separated list? JSON array?) and the return format. It does neither, leaving an agent unsure how to actually call the tool correctly.

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 nominally 100%, but the schema text is tautological ('K to process', 'Values to process'), so real semantic detail comes from the description: k is a position count defaulting to 1, and values is the array to rotate. That is enough to clear the baseline of 3 but does not resolve the critical ambiguity of how an array is supplied in a string-typed parameter.

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 gives a specific verb and resource plus a meaningful qualifier: 'Rotate an array left by k positions.' That is clearer than the bare name, since direction (left) and magnitude (k) are spelled out. It does not, however, differentiate from nearby siblings such as x402-reverse-array or x402-reversed-array, so it falls short of a 5.

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?

There is no when-to-use or when-not-to-use guidance. Nearby sibling tools like x402-reverse-array or x402-sort-array are not mentioned as alternatives, and no conditions (e.g., k larger than array length) are discussed. The sentence 'Provide values and optional k' is parameter instruction, not usage context.

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