Skip to main content
Glama

probability.lognormal_pdf

Read-onlyIdempotent

Computes the lognormal probability density for a positive value x using mu and sigma of ln(X), returning the rounded density as a string.

Instructions

로그정규분포의 확률밀도를 구한다. x 는 양수, mu 와 sigma 는 ln X 의 평균과 표준편차(sigma 는 양수, 기본 0 과 1)이며 scipy float64 계산 후 유효숫자 10자리로 반올림한 문자열을 반환한다. mu 와 sigma 는 X 자체의 평균과 표준편차가 아니다.

Input Schema

NameRequiredDescriptionDefault
xYes
muNo0
sigmaNo1

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.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), so the description earns credit for adding implementation and output traits: scipy float64 computation, rounding to 10 significant digits, and string return type. It also flags the domain constraint that x must be positive.

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?

Two dense sentences with the core action first, then parameter meaning, then output format. Every clause adds information; nothing is redundant with the schema or annotations.

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?

Covers parameters, domain constraints, computational method, and return representation, which is more than enough for a single-point density evaluation. Minor gap: no stated behavior for invalid input (x <= 0 or sigma <= 0), though the positivity requirement is declared.

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 carries the full burden and does: it defines x as positive, mu/sigma as the mean and SD of ln X (not of X), sigma positive with defaults 0 and 1. The explicit warning about mu/sigma not being X's moments is exactly the kind of meaning the flat schema cannot convey.

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 precise verb+resource: probability density of the lognormal distribution, with the domain constraint (x positive). An agent can immediately distinguish it from lognormal_cdf/lognormal_ppf siblings by the density-vs-distribution wording.

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?

Usage is implied by the statistical name (density evaluation at a point), but the description never states when to use this vs lognormal_cdf/lognormal_ppf nor any prerequisites. Adequate but leaves selection to inference from the tool 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