x402-two-complement
Two Complement: Returns the two's complement of an integer at a requested bit width 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | No | ||
| value | No |
Two Complement: Returns the two's complement of an integer at a requested bit width 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| bits | No | ||
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / bits / descriptionRemoved value: -"Bits to process"Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / bitsAdded value: +{
+ "description": "Bits to process",
+ "type": "string"
+}Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full behavioral burden. It conveys the access model (5 free trial calls per signed wallet) but says nothing about accepted input encoding, valid bit-width ranges, overflow/wrap behavior, or the return shape. For a computation tool where the string-typed numeric inputs are ambiguous, that is a real gap.
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?
The core purpose is front-loaded in a single tight sentence with no filler. The trailing free-trial clause is marketing-adjacent but does carry access information, so it is not pure waste.
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 two-parameter tool with 0% schema coverage, no annotations, and no output schema, the definition is under-specified: an agent cannot tell how to format 'value' as a string or what a reasonable 'bits' value is. It should explain the string-number encoding and any range constraints.
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 0%, so the description must compensate. It loosely maps the two parameters by naming 'integer' and 'bit width', but does not explain the string encoding expected for either, nor valid ranges for bits. Baseline for low coverage is below 3 because the format question is left unresolved.
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 (returns) plus the exact resource (the two's complement of an integer) and a scoping condition (at a requested bit width). This is enough to separate it from neighboring bit ops like x402-bit-not or x402-bit-shift-right. It stops short of an explicit sibling comparison, so it lands at 4.
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 description gives no when-to-use or when-not-to-use guidance and names no alternative tools. The only additional sentence concerns the free-trial quota, which is a commercial detail rather than invocation guidance.
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.