Skip to main content
Glama

Get Success Criterion

get_success_criterion
Read-onlyIdempotent

Read an accessibility criterion and its evidence using scId from list_success_criteria. Includes up to three available image previews of affected accessibility frames. Images may be unavailable. Use IDs from list_test_blocks to target a block/run; omission uses the documented defaults. Legacy tests also supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scIdYes
runIdNo
testIdYes
blockIdNoSelect one block from list_test_blocks. Omit to infer a sole relevant block; list_insights defaults to all AI blocks. Omit for legacy tests.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
nameNo
scIdNo
levelNo
retryNo
runIdNo
scopeNo
resultNo
statusNo
testIdNo
blockIdNo
messageNo
categoryNo
examplesNo
nextStepNo
descriptionNo
remediationTeamsNo
understandingUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent safety, and the description adds genuinely new behavior: up to three image previews of affected frames and the caveat that images may be unavailable. It also notes legacy test support, which is not derivable from the schema.

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 tight sentences that front-load the read operation and the ID dependency, then add the image-preview caveat. No filler, though the 'Legacy tests also supported' clause is appended somewhat abruptly.

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?

An output schema exists, so return values need not be explained, and the description still flags the unreliable image previews. The main gap is that testId, a required parameter, is never addressed.

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 only 25%, so the description must compensate. It explains scId's source, ties runId/blockId to list_test_blocks, and covers blockId omission semantics, but the required testId is never explained in the description and runId's role is only implied.

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?

States a specific verb ('Read') and resource ('accessibility criterion and its evidence'), and ties the scId to list_success_criteria. It does not explicitly contrast itself with nearby siblings like get_insight or list_success_criteria, but the resource is unambiguous.

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?

Explicitly routes the agent to list_success_criteria for scId and list_test_blocks for block/run targeting, and notes that omission falls back to documented defaults. No when-not-to-use guidance, but the context is clear.

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.

Resources