Skip to main content
Glama

probability.gamma_cdf

Read-onlyIdempotent

Computes the gamma distribution cumulative probability P(X ≤ x) from x, shape, and scale, returning a rounded decimal result; pass scale as the inverse of rate.

Instructions

감마분포의 누적확률 P(X ≤ x)를 구한다. x 는 0 이상, shape(k)는 양수, scale(θ, 기본 1)은 양수 십진 문자열이며 scipy float64 계산 후 유효숫자 10자리로 반올림한 문자열을 반환한다. scale 은 rate 의 역수이므로 rate 를 그대로 넣으면 틀린다.

Input Schema

NameRequiredDescriptionDefault
xYes
scaleNo1
shapeYes

Output Schema

NameRequiredDescriptionDefault
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
traceYes계산 근거(tool, formula, inputs, steps, output)
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: computation is done in scipy float64 and the result is returned as a string rounded to 10 significant digits, plus the scale-vs-rate inversion trap. It stops short of stating error behavior for out-of-range input.

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 dense sentences: definition first, then parameter constraints, then numerical precision and the rate/scale pitfall last. No filler, and the most decision-relevant pitfall is not buried.

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

Completeness5/5

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

For a pure statistical function with an existing output schema, the description covers the operation, all parameter domains, the numeric backend and precision, and the single most likely caller error. Nothing further is needed to invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the full load, and it does: x is constrained to ≥ 0, shape(k) must be positive, scale(θ) defaults to 1 and must be a positive decimal string, and its meaning (reciprocal of rate) is spelled out. Every one of the three parameters gets semantics the schema alone does not provide.

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 ('감마분포의 누적확률 P(X ≤ x)를 구한다'), naming the exact statistical quantity computed. That makes it trivially distinguishable from the sibling gamma_pdf (density) and gamma_ppf (inverse) without opening any 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?

The description gives domain constraints (x ≥ 0, shape positive, scale positive) and a genuinely useful usage warning that scale is the reciprocal of rate, so rate must not be passed directly. However, it never says when to choose this over gamma_pdf/gamma_ppf, so routing between the three gamma tools is left to inference from the name.

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

Deploy Server

Other Tools