Skip to main content
Glama

check_acceptance_criterion

Destructive

Mark an acceptance criterion as completed in a story file by specifying its index or text, updating backlog status for project tracking.

Instructions

Mark a single acceptance criterion as checked (- [ ] → - [x]) in a story file. Identify the target by criterion_index (0-based) or criterion_text (case-insensitive exact match). Exactly one must be provided. Returns {story_id, criterion, checked, path}. Errors if the story is not found, the criterion is not found, or it is already checked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
criterion_indexNo0-based index of the criterion to check. Use when you know the position. Mutually exclusive with criterion_text.
criterion_textNoExact text of the criterion to check (case-insensitive). Use when you know the text. Mutually exclusive with criterion_index.
story_idYesStory ID to update, e.g. STORY-047
Behavior4/5

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

Annotations already indicate this is a destructive, non-idempotent, open-world write operation. The description adds valuable context beyond annotations: it specifies the exact transformation (- [ ] → - [x]), describes error conditions (story not found, criterion not found, already checked), and mentions the return structure. This enhances behavioral understanding without contradicting annotations.

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?

The description is perfectly front-loaded with the core purpose in the first sentence, followed by essential usage details and error conditions. Every sentence earns its place with zero wasted words, making it highly efficient for agent comprehension.

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?

Given the tool's complexity (destructive mutation with multiple parameters) and lack of output schema, the description does well by explaining the return structure and error conditions. However, it could be more complete by mentioning what happens to the story file (e.g., whether it's saved automatically) or providing examples of story_id format beyond the schema's 'e.g. STORY-047'.

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%, providing full parameter documentation. The description adds marginal value by reinforcing the mutual exclusivity of criterion_index and criterion_text and emphasizing that exactly one must be provided. However, it doesn't provide additional semantic context beyond what's already in the schema descriptions.

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 clearly states the specific action ('Mark a single acceptance criterion as checked'), the resource ('in a story file'), and the transformation ('- [ ] → - [x]'). It distinguishes from siblings like 'set_acceptance_criteria' (which sets multiple criteria) by focusing on checking a single criterion.

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 provides clear context for when to use this tool (to check a single acceptance criterion) and specifies that exactly one identifier (criterion_index or criterion_text) must be provided. However, it doesn't explicitly mention when NOT to use it or name alternatives like 'complete_story' or 'set_story_status' for broader story completion.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/corbym/backlog-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server