Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-cohens-d

Cohens D: Calculate Cohen's d effect size between two groups. Provide group1 and group2 arrays; measures how far two means differ in standard deviations. 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "group1": "<group1>",
      "group2": "<group2>"
    },
    "name": "x402-cohens-d"
  }
}

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
group1Yes
group2Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "group1",
      +  "group2"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / group1 / description
      Removed value: -"Group1 to process"
    • removedInput schema / properties / group2 / description
      Removed value: -"Group2 to process"
  3. First observed

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It discloses the paid-usage gating ('5 free trial calls per signed wallet'), which is genuinely useful, but says nothing about the return value (just d, or d with magnitude labels?), error behavior for unequal/malformed groups, or the role of the unexplained a/b parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the core purpose and followed by input guidance and the pricing note; nothing is padding. The 'arrays' vs string-type mismatch is a small precision cost rather than verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple statistical computation the core is covered, and no output schema exists so return-value explanation is not mandatory. However, with no annotations, 0% schema coverage, and two undocumented parameters plus a type inconsistency, an agent still lacks enough context to invoke it confidently with correct input formats.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 4 parameters, so the description must compensate and it only partly does: group1/group2 are named but described as 'arrays' while the schema types them as strings, creating a format ambiguity. Parameters a and b are never mentioned anywhere, leaving half the inputs opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Calculate Cohen's d effect size between two groups' — and immediately explains what the result means ('how far two means differ in standard deviations'). An agent knows exactly which computation this performs without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Provide group1 and group2 arrays' implicitly scopes usage to a two-group comparison, but there is no explicit when-to-use/when-not guidance or routing to alternatives (e.g., a t-test or other effect-size tools that likely exist among the siblings). Guidance must be inferred from the name and the two required params.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.