Skip to main content
Glama

x402-combinations

Combinations: Lists every k-element combination of the values array, defaulting k to 2 when not supplied 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
kNo
nNo
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / k / description
      Removed value: -"K to process"
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  2. Changed3 schema fields changed
    • addedInput schema / properties / k
      Added value: +{
      +  "description": "K to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / n
      Added value: +{
      +  "description": "N to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations or output schema exist, so the description carries the full burden. It does add one behavioral fact (k defaults to 2) and payment context (5 free trial calls per signed wallet), but says nothing about output size, ordering of combinations, limits on large inputs, or what a signed wallet requires.

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 with the resource, the input, and the default behavior. The emoji pricing clause is slightly noisy but compact and adds practical information.

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 across three parameters, the description leaves the 'n' parameter, output format, and combination ordering undefined. For a combinatorics tool where order and scale matter, this is a noticeable gap.

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% with three string-typed parameters. The description explains values and k (including its default), but the 'n' parameter is never mentioned in the description or the schema, leaving one of three inputs entirely opaque.

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: lists every k-element combination of the values array. That is clear enough to separate it from siblings like x402-combination-count (which counts rather than enumerates) and x402-permutations, though the description never explicitly names those alternatives.

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 the k default of 2. There is no statement of when to choose this over x402-combination-count, x402-permutations, x402-cartesian-product or x402-powerset, and no mention of input constraints that would select one over another.

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