x402-gini-coefficient
Gini Coefficient: Computes the Gini coefficient of a numeric values array, returning 0 when the mean is zero 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No |
Gini Coefficient: Computes the Gini coefficient of a numeric values array, returning 0 when the mean is zero 🆓 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?
With no annotations, the description carries the full behavioral burden. It usefully discloses an edge-case rule ('returning 0 when the mean is zero') and a pricing/auth note ('5 free trial calls per signed wallet'), which is real context beyond the schema. It stops short of describing input format expectations or error behavior, so it is only partially transparent.
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 description is short and front-loaded, leading with the tool's name and core behavior. The trailing promotional emoji/trial-call text is slightly off-task but brief, so the sentence still mostly earns its place.
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 single-parameter math tool with no output schema and no annotations, the description covers the computation and one edge case, which is adequate. The missing piece is the exact input encoding, which matters because the schema types the parameter as a string with no description.
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% for the single 'values' parameter, so the description must compensate. Saying 'numeric values array' does indicate what to pass, but it conflicts with the schema's declared type of string and gives no format detail (JSON array? comma-separated?), leaving a real ambiguity for the agent.
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 states a specific verb and resource: 'Computes the Gini coefficient of a numeric values array.' An agent can immediately tell what the tool returns. However, it does not differentiate itself from closely related siblings such as x402-lorenz-curve or x402-simpson-index, so it falls short of 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?
There is no when-to-use or when-not-to-use guidance, and no mention of alternatives like x402-lorenz-curve or x402-stats despite many overlapping statistics siblings. The agent must infer the appropriate context entirely 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.