Skip to main content
Glama

x402-powerset

Powerset: Generate the powerset of an array — every possible subset. Provide values; returns array of all subsets.

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

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the return shape ('array of all subsets') but omits practically relevant traits: output grows as 2^n (a real hazard for larger inputs), behavior on empty input, duplicate handling, and how a single string parameter encodes multiple values.

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 compact sentences with the core purpose front-loaded and no filler. The opening 'Powerset: Generate the powerset...' is mildly redundant with the tool name, costing a point, but nothing else is wasted.

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?

For a single-parameter tool with no output schema, the description covers the basic contract but leaves two real gaps: the string encoding of the input array and the exponential output growth the agent should anticipate. Adequate but not complete.

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 100%, so the baseline is 3. The one parameter is named 'values' with schema text 'Values to process', and the description only echoes this ('Provide values'), adding no format, delimiter, or sizing guidance beyond the schema.

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 ('Generate the powerset of an array') and adds a plain-language gloss ('every possible subset'), so an agent knows exactly what the tool computes. It does not, however, distinguish itself from adjacent siblings like x402-combinations or x402-permutations, which is required for 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?

It says 'Provide values' and what comes back, but offers no when-to-use context, no conditions that select this over x402-combinations/permutations/cartesian-product, and no exclusions. Usage is left entirely to inference from the name.

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