Skip to main content
Glama

Assess an accuracy claim against its counts

assess_accuracy_claim
Read-only

Check whether a claimed accuracy or related rate is supported by supplied sample counts, then get a verdict, reasons, and a suggested statement.

Instructions

Judges a claimed accuracy or related rate against the supplied counts and returns the kit's verdict, reasons and suggested statement. It takes the caller's word on who labeled the items and how they were sampled. It cannot determine whether the system is accurate, the labels are right or the sample represents production. For a random sample with human labels and 990 of 1,000 correct, an accuracy claim of '98%' is supported and '99.5%' is contradicted.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "claim": "<claim>",
      "provenance": "<provenance>",
      "sampling": "<sampling>"
    },
    "name": "assess_accuracy_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimYes
sampleNoCounts. Omit if they were not disclosed.
strataNoRequired for stratified samples. Counts must add up to the sample.
optionsNoOptional assessment policy. Omit to use the kit defaults.
samplingYesHow the items were selected.
benchmarkNoThe named set for complete or held-out-split sampling.
populationNoIdentifiers for the population claimed and the population evaluated.
provenanceYes
evaluatedAtNoEvaluation date in YYYY-MM-DD form.
retractionsNoKnown retractions and whether the sample included them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

The readOnlyHint=true and openWorldHint=false annotations are consistent with a pure evaluation tool, and the description adds real context beyond them: it discloses what is returned (verdict, reasons, suggested statement) and openly states the trust boundary — it 'takes the caller's word on who labeled the items and how they were sampled.' It also clearly disclaims what it cannot determine (system accuracy, label correctness, representativeness), which is exactly the caveat an agent needs before acting on the output.

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?

Four short sentences, front-loaded with the action and its return value, followed by the trust boundary, the disclaimer, and one illustrative example. Every sentence carries information; nothing is padding, though the disclaimer and the example could be compressed slightly.

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 complex ten-parameter nested tool with no output schema, the description covers the three things an agent most needs: what it returns, what it assumes on trust, and what it explicitly cannot conclude. The remaining parameter detail (options policy, strata, retractions) is adequately handled by the 80%-covered schema.

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 already 80%, so the schema carries most of the parameter burden. The description still adds interpretive meaning by demonstrating how counts map to an outcome (990 of 1,000 correct supports a 98% claim but contradicts 99.5%) and by pairing 'random sample' with 'human labels', which concretely illustrates the sampling and provenance parameters.

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 states a specific verb and resource: it 'judges a claimed accuracy or related rate against the supplied counts' and returns a verdict, reasons and a suggested statement. That is far more precise than a restatement of the name, though it never explicitly names a sibling tool it should be preferred over.

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 context is implied through the worked example ('For a random sample with human labels and 990 of 1,000 correct...'), which shows the intended input shape and what a supported versus contradicted verdict looks like. There is no explicit when-to-use / when-not-to-use routing against alternatives such as check_provenance_claims or assess_anonymous_authenticity, so the agent must infer the boundary.

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