Skip to main content
Glama

analyze market test

analyze_market_test
Read-onlyIdempotent

Overseas market test: sample size per group to detect a relative lift (two-sided, alpha 0.05), two-proportion z-test of A/B results with p-value and 95% CI, and full-entry economics (monthly profit, payback of entry cost, break-even conversion, go / extend / stop). Give any of the three parts. Same engine as tools.oiyo.net.

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": "analyze_market_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
nANoVisitors in A
nBNoVisitors in B
liftNoRelative lift to detect, e.g. 0.2
convANoConversions in A
convBNoConversions in B
entryNo
powerNoPower, default 0.8
baselineNoCurrent conversion rate for sample size

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, closed-world, non-destructive calculation, so the safety profile is covered. The description adds real behavioral context beyond that: the test is two-sided at alpha 0.05, the interval is 95%, and the economics part emits a go / extend / stop decision. It does not say whether alpha is adjustable or what the decision thresholds are, which keeps it off a 5.

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?

Everything is packed into one front-loaded sentence with parenthetical detail; there is no filler and the three parts are enumerated in a logical order. The trailing 'Same engine as tools.oiyo.net' is marketing rather than operational information and slightly dilutes the structure.

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?

With no output schema, the description carries the burden of describing returns, and it does name the key outputs: p-value, 95% CI, monthly profit, payback of entry cost, break-even conversion, and a go/extend/stop verdict. Combined with the 88% schema coverage and the annotations, an agent has enough to call it. Missing detail on default assumptions beyond power (e.g. fixed alpha) is a minor gap.

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

Parameters3/5

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

Schema coverage is 88%, so nearly every parameter is already documented in the schema, and the baseline for a high-coverage schema is 3. The description does add implicit grouping by naming three computational parts, which helps the agent see that nA/nB/baseline/lift/power belong together and entry.* forms a separate block. It never maps those groups to parameter names explicitly, so it does not exceed the baseline.

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?

The description names a specific resource and enumerates three concrete computations: sample-size-per-group for a relative lift, a two-proportion z-test with p-value and 95% CI, and full-entry economics with go/extend/stop. That is far more specific than a tautology. It stops short of 5 because it never states how it differs from the closest sibling, calculate_unit_economics_runway, which overlaps with the 'full-entry economics' part.

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?

'Give any of the three parts' tells the agent the tool is callable with partial inputs, which matters given zero required parameters. Beyond that, there is no when-to-use framing, no when-not, and no routing to a sibling such as calculate_unit_economics_runway for pure runway math. Usage is implied rather than stated.

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.