Skip to main content
Glama

bulk_update_stories

Destructive

Update multiple stories by setting status, appending notes, and patching acceptance criteria in a single atomic operation per file.

Instructions

Update multiple stories in one operation. Each entry may set status, append a note, and/or patch acceptance criteria. Updates are applied atomically per file. If a story does not exist, an error is recorded for that entry and processing continues. Returns an array of per-story result objects with fields: story_id, status_updated, old_status, new_status, note_appended, criteria_updated, criteria_errors, errors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYesArray of story update objects. Each must include story_id; status, note, and criteria are optional. status must be one of: draft, in-progress, blocked, deferred (use complete_story to mark done). note is appended, not replaced. criteria is a map of criterion text (or AC ID) to boolean checked state — true = checked, false = unchecked. Example: {"User can log in": true, "User sees error on bad password": false}. Keys are matched case-insensitively with tolerance for Unicode dash variants (em-dash, en-dash, etc.).
Behavior4/5

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

Annotations declare destructiveHint=true, and description adds that non-existent stories result in errors but processing continues. It also mentions atomicity per file. Does not contradict annotations; adds useful behavioral detail beyond what annotations provide.

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?

Single paragraph, dense but well-organized. Front-loads purpose, then details. Slightly verbose in the criteria description, but overall efficient for the complexity.

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?

Covers all key aspects: what is updated, input format, atomicity, error handling, and return array structure. No output schema, but description adequately describes the per-story result objects. Given the tool's complexity, the description is fully adequate.

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 coverage is 100%, but description adds critical meaning: enumerates valid statuses (draft, in-progress, blocked, deferred) and notes 'complete_story' for done. For criteria, explains it's a map with case-insensitive matching and Unicode dash tolerance. This goes well beyond the schema's minimal 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?

Clearly states 'Update multiple stories in one operation' and lists the fields that can be updated (status, note, criteria). Distinguishes from siblings like 'complete_story' by explicitly mentioning when to use that sibling. Also describes atomicity per file and error handling.

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?

Provides guidance on status values and directs to 'complete_story' for marking done. Implicitly indicates this tool is for bulk updates, but does not explicitly state when not to use it or provide alternatives for single story updates.

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