Skip to main content
Glama

x402-find-max-index

Find Max Index: Find max index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valuesNoValues to process

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing: not the input format, not the return shape (1-based vs 0-based index), not tie-breaking when the max appears multiple times, and not behavior on empty input. For a tool with zero annotation coverage this is a complete gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the single sentence merely duplicates the tool name, so no sentence earns its place. Brevity here comes from under-specification rather than efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/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 a vague 'values' string input, the description should clarify accepted input format (delimited string vs list) and the returned index convention. It supplies none of this, leaving an agent unable to call the tool reliably.

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?

There is a single parameter, 'values', and schema description coverage is 100%, so the schema already carries the parameter documentation. Per the baseline for full coverage with no additional param meaning in the description, a 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the name/title almost verbatim ('Find Max Index: Find max index'), which is a tautology rather than an explanation. It does at least imply the operation is a lookup of the index position of a maximum value, but it offers no distinction from close siblings such as x402-find-max (returns the value, not the index) or x402-find-min-index.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of prerequisites, and no routing to alternatives. An agent must guess whether this returns the index, the value, or both, and cannot tell why it would pick this over x402-find-max.

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