Skip to main content
Glama

x402-find-min

Find Min: Find the minimum value in an array. Provide values array; returns the smallest element. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden: it discloses the return value ('returns the smallest element') and the free-trial quota, which is useful context. It does not say how empty arrays, mixed types, or non-numeric input behave, and it does not resolve the conflict between the 'array' wording and the schema's string type.

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 short sentences, front-loaded with the operation and followed by input and output. The emoji trial line is promotional but does convey a real quota constraint, so it is not pure waste.

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 no annotations, so the description must cover both, and it does state the return value. The gap is input format and edge-case behavior for a tool whose only parameter is ambiguously typed, which matters more here than for a tool with rich schema.

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 coverage is 0% and the single parameter is typed only as 'string'. The description calls it a 'values array', which usefully signals intent but conflicts with the declared string type and gives no serialization format (JSON array, comma-separated, space-separated), leaving the agent guessing how to encode the input.

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 and resource: find the minimum value in an array, and says it returns the smallest element. It does not distinguish itself from close siblings such as x402-find-min-index, x402-rolling-min, or x402-nth-smallest, so an agent must infer the difference.

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 and no named alternative. The only instruction is 'Provide values array', which is input guidance rather than selection guidance; an agent comparing find-min against find-min-index or cumulative-min gets no help.

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