x402-unique-count
Unique Count: Counts the distinct values in an array 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No |
Unique Count: Counts the distinct values in an array 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| values | No |
Changes observed during successful MCP inspections.
Input schema / properties / values / descriptionRemoved value: -"Values to process"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 disclosure burden. It adds pricing context ('5 free trial calls per signed wallet') which is useful, but omits what happens after trial, whether the wallet must be signed per call, and the input/output format. For an unpaid-annotated tool this is thin.
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?
Very short and front-loads the purpose. The emoji and trial-call note add payment context, though the pricing pitch is only marginally relevant to invoking the tool correctly.
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?
With one undocumented parameter, no annotations, and no output schema, the definition leaves input encoding and return shape unexplained. The string-vs-array mismatch compounds the incompleteness for a tool anyone must call blind.
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 the single parameter 'values' has no description. The description says 'array' while the schema types it as a string, and it never clarifies the expected encoding (comma-separated, JSON, etc.), leaving a critical ambiguity 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 clear verb+resource: 'Counts the distinct values in an array.' An agent can tell it counts unique values. However, it does not distinguish itself from the sibling x402-unique-array, and the stated resource ('array') conflicts with the schema, which accepts a string.
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?
Gives no guidance on when to use this versus alternatives. The description does not mention the near-identical x402-unique-array or any condition for preferring one over the other, so the agent must guess.
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.