Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-odds-ratio

Odds Ratio: Odds ratio from a 2x2 table. Takes exposedCases, exposedControls, unexposedCases and unexposedControls. Returns the ratio as result. 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-odds-ratio"
  }
}

Input Schema

NameRequiredDescriptionDefault
exposedCasesNo
unexposedCasesNo
exposedControlsNo
unexposedControlsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / exposedCases / description
      Removed value: -"ExposedCases to process"
    • removedInput schema / properties / exposedControls / description
      Removed value: -"ExposedControls to process"
    • removedInput schema / properties / unexposedCases / description
      Removed value: -"UnexposedCases to process"
    • removedInput schema / properties / unexposedControls / description
      Removed value: -"UnexposedControls to process"
  2. Changed4 schema fields changed
    • addedInput schema / properties / exposedCases
      Added value: +{
      +  "description": "ExposedCases to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / exposedControls
      Added value: +{
      +  "description": "ExposedControls to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / unexposedCases
      Added value: +{
      +  "description": "UnexposedCases to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / unexposedControls
      Added value: +{
      +  "description": "UnexposedControls to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add useful commercial context ('5 free trial calls per signed wallet'), disclosing an auth/rate-limit model that structured fields do not, but it never states that the tool is a pure side-effect-free computation or what happens for zero/empty cells.

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

Conciseness5/5

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

Three short sentences, front-loaded with the operation, then inputs, then output, then the trial-call note. Nothing is padded or redundant.

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

Completeness4/5

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

For a simple deterministic calculator with no output schema, naming the output field and all four inputs is close to sufficient. The remaining gap is edge-case behavior (zero cells, non-numeric strings), a minor omission for this tool class.

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

Parameters4/5

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

Schema description coverage is 0%, but all four parameters are named exactly as the schema properties are, and the description frames them as the four cells of a 2x2 table and identifies the output name. The mapping is explicit enough that the agent can order the arguments correctly without a schema description.

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

Purpose4/5

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

States a specific operation and domain: computes an odds ratio from a 2x2 table, names the four cell inputs, and names the return value ('result'). This distinguishes it from ratio siblings like x402-aspect-ratio or x402-pe-ratio, though it does not explicitly say so.

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

Usage Guidelines2/5

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

No statement of when to use this versus other ratio tools, no prerequisites, and no exclusions. The only implicit guidance is the mention of a 2x2 table, which hints at the epidemiological use case but is never made explicit.

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.

Resources