Skip to main content
Glama

Santismm Knowledge — Harness Engineering, Agentic AI & Governance

Calculate an agent evaluation sample size

calculate_evaluation_sample_size
Read-onlyIdempotent

Calculate two different samples: how many independent evaluations are needed to detect at least one failure, and how many are needed to estimate its rate at a chosen margin. Use this when a user asks how many tests are enough; do not interpret zero observed failures as proof of zero risk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marginYesMargin for estimating the failure rate, in percentage points.
confidenceYesConfidence level, in percent.
populationYesNumber of distinct evaluable cases.
failureRateYesFailure rate to detect, in percent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
unitsYes
inputsYes
sourceYes
api_urlYes
licenseYes
resultsYes
updatedYes
versionYes
formulasYes
languageYes
warningsYes
assumptionsYes
canonical_urlYesCite this URL.
interpretationYes
schema_versionYes
methodology_urlYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context by clarifying that the tool produces two distinct estimates and warns against a common statistical misinterpretation. This goes beyond the annotations and helps the agent set correct expectations.

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 sentences carry all the essential information: the calculation outputs, the usage trigger, and a statistical caveat. The most important information is front-loaded ('Calculate two different samples'), and every sentence earns its place without redundancy.

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?

Given the presence of a full output schema, rich annotations, and complete parameter documentation, the description covers the remaining contextual needs: what the tool calculates, when to use it, and a key interpretation warning. An agent has everything it needs to select and invoke this tool correctly.

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 description coverage is 100%, so the schema fully documents each parameter. The description adds some conceptual context by linking failureRate and margin to the two calculation goals, but it does not need to explain parameter syntax or ranges. This aligns with the baseline 3 for high schema coverage.

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?

The description states a specific verb ('Calculate') and resource ('two different samples' of evaluations), and clearly defines what the two samples are for: detecting at least one failure and estimating the failure rate at a chosen margin. This is distinct from the sibling calculation tools and leaves no ambiguity about the tool's core function.

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

Usage Guidelines4/5

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

The description gives an explicit usage condition: 'Use this when a user asks how many tests are enough.' It also provides a critical interpretive guardrail ('do not interpret zero observed failures as proof of zero risk'). It does not explicitly name alternatives or state when not to use it, but the context is clear enough for an agent to route appropriately.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Every tool targets a distinct operation and identifier: search is the entry point, list_* returns browsing summaries, get_* returns a single unit, get_related traverses the graph, and get_overview maps the corpus. Even the similar get_homeric_* trio is cleanly separated by episode/place/route.

Naming Consistency5/5

All names follow snake_case verb_noun: get_* for singular retrieval, list_* for enumeration, plus search. get_related and get_overview are the only deviations but remain predictable read operations.

Tool Count4/5

21 tools is above the typical 3-15 range, but the count is justified by the number of distinct corpora and the consistent list/get pairing for each; there are no redundant tools, so it is only slightly heavy.

Completeness5/5

The server offers a complete read-side lifecycle for this knowledge corpus: overview, search, list, get, and graph traversal. For a read-only knowledge server, there are no obvious dead ends; coverage of claims, patterns, architectures, governance, handbook and Homeric atlas is thorough.