x402-powerset
Powerset: Generate the powerset of an array — every possible subset. Provide values; returns array of all subsets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Powerset: Generate the powerset of an array — every possible subset. Provide values; returns array of all subsets.
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Changes observed during successful MCP inspections.
Input schema / properties / valuesAdded value: +{
+ "description": "Values to process",
+ "type": "string"
+}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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.