x402-partition
Partition: Splits an array into matching and non-matching parts by even, odd, positive, negative, or truthiness 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | ||
| predicate | No |
Partition: Splits an array into matching and non-matching parts by even, odd, positive, negative, or truthiness 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | ||
| predicate | No |
Changes observed during successful MCP inspections.
Input schema / properties / predicate / descriptionRemoved value: -"Predicate to process"Input schema / properties / values / descriptionRemoved value: -"Values to process"Input schema / properties / predicateAdded value: +{
+ "description": "Predicate to process",
+ "type": "string"
+}Input schema / properties / valuesAdded value: +{
+ "description": "Values to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations the description carries full behavioral burden. It does disclose the two-part output ('matching and non-matching parts') and the payment/trial context ('5 free trial calls per signed wallet'), which is useful, but says nothing about ordering, edge cases, or error behavior.
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?
One front-loaded sentence with the tool name as a leading label. Minimal waste, though the trailing free-trial/emoji snippet is more marketing than definitional content.
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 simple 2-parameter utility with no output schema, the description covers purpose, modes, and output shape. The main remaining gap is the input encoding of 'values', which is a modest omission.
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 coverage is 0% and neither parameter is documented in the schema. The description names the accepted predicate values, partially compensating for the 'predicate' param, but the 'values' param (a string containing the array) is left completely unexplained.
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?
States a specific verb ('splits an array') and resource, and enumerates the classification modes (even, odd, positive, negative, truthiness). This distinguishes it from the number-theory sibling x402-partition-number, though it never names alternative tools for grouping/splitting.
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?
The enumerated predicate options imply when the tool applies, but there is no explicit guidance on when to prefer it over siblings like x402-group-by, x402-count-by, or x402-dedupe. Usage is inferable rather than stated.
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.