Skip to main content
Glama

Stride — AI software delivery platform

Update defect

stride.update_defect
DestructiveIdempotent

Patch fields on an existing defect: title, description, severity, status, storyId (ticket key like "ORB-526" or UUID), testCaseId, assigneeId. Cross-project references are validated to live in the defect's project. Pass null to clear a nullable field. Only fields whose value actually differs are written and reported (fieldsChanged / unchanged); a call that changes nothing says "already X — no change" and writes nothing. Refuses tombstoned (soft-deleted) defects. Conflict-guarded against concurrent human edits (pass force:true, after re-reading with get_defect, to override — the override is audit-logged).

Input Schema

NameRequiredDescriptionDefault
forceNoRequired after a HUMAN_EDIT_AFTER_AGENT_SYNC conflict — re-reading with get_defect does not clear it. Re-read first and carry the human's edit forward in your payload; overwrite it only with the human's explicit approval — the override is audit-logged.
titleNo
statusNo
storyIdNoStory ticket key like "ORB-526" or UUID (same project); null unlinks.
defectIdYes
severityNo
assigneeIdNo
testCaseIdNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotation trio (destructive/idempotent/non-readonly) by disclosing that no-op writes are skipped and reported via fieldsChanged/unchanged, that tombstoned records are refused, that cross-project references are validated, and that the force override is audit-logged. These are exactly the mutation-behavior details annotations cannot express.

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?

Field inventory is front-loaded, followed by behavioral rules in descending order of importance (no-op detection, tombstone refusal, conflict handling). Six dense sentences with no filler, despite the run-on paragraph form.

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?

For a destructive, 9-parameter mutation with no output schema, the description supplies conflict, idempotency, and no-op semantics plus the fieldsChanged reporting shape. It omits permission/scoping requirements and any mention of what the full response contains beyond the change report.

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 only 22%, but the description compensates: it names the patchable fields, explains storyId's ticket-key/UUID format and project constraint, and states the global null-clears semantics for nullable params. It leaves severity/status enum meanings and the semantics of an omitted (vs null) field to the schema and inference.

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?

Opens with a specific verb and resource ("Patch fields on an existing defect") and enumerates the exact patchable fields, which immediately separates it from create_defect, delete_defect, and the story-update siblings. An agent can identify the target resource and scope without opening the schema.

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?

Gives concrete when-to guidance: pass null to clear a nullable field, use force:true only after re-reading with get_defect, and expect refusal on tombstoned defects. It does not explicitly route to alternatives (e.g. restore_defect for soft-deleted records, or update_story for non-defect entities), leaving that inference to the agent.

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.