Skip to main content
Glama

bug_create

Creates a bug as a draft when the user asks to log a defect; the token owner reviews and publishes it. Placement is one of: a feature (featureID or featureKey), a version (versionID) or the product backlog (productID); type is the criticality (the nature of the defect is the separate bugType field), and bugs always have a testing stage. Returns the key, link, status and allowed transitions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ordNoPosition of the new bug; tasks are ordered by `ord` descending. Omitted - end of the feature's plan, so bugs created one by one keep their order.
gistYesGist: one or two sentences, "problem → solution", up to 300 characters of plain text (no Markdown, links or task keys), in the language of the workspace data.
specYesBug description in Markdown (no HTML) following the bug creation template, in the language of the workspace data.
typeYesCriticality by actual impact: bug_trivial - cosmetic; bug_minor - inconvenience with a workaround; bug_major - a function works wrong or part of a scenario is unavailable, the workaround is costly; bug_critical - a scenario is impossible, data is lost or corrupted, a section crashes; bug_block - blocks the product or all testing. In doubt between two levels - bug_major.
buildNoBuild in which the defect was reproduced, from the deployed version; QA reproduces on it.
titleYesBug title, up to 200 characters, in the language of the workspace data; states the defect itself, not just the area (like "Settings").
featureIDNoFeature ID - the preferred placement
moduleIDsNoIDs of the modules (screens) where the defect is visible, even if its cause is in a service.
productIDNoProduct ID - the product backlog, last resort
versionIDNoVersion ID - when no feature fits
featureKeyNoFeature key #F12 (or F12, 12); not with featureID
componentIDsNoIDs of the components where the defect is actually visible; empty if unsure.
testAssigneeNoTester: employee UUID or "any" (any employee); default "any" - bugs are always tested.
workAssigneeNoAssignee: employee UUID, "any" (any employee) or null (no work stage); default "any".
workTimePlanNoPlanned fix time in minutes, for the assignee's role level.
rulesRevisionYesRevision of the bug creation template the spec follows.
reviewAssigneeNoReviewer: employee UUID, "any" (any employee) or null (no review stage); default: no review.
approvalAssigneeNoApprover: employee UUID, "any" (any employee) or null (no approval stage); default: no approval.
workIterationKeyNoIteration key for work outside the current iteration; default - current

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint=false / destructiveHint=false annotations by disclosing that the object is created as an unpublished draft requiring owner review, that bugs always have a testing stage, and that the response returns key, link, status and allowed transitions. These are meaningful lifecycle facts an agent cannot infer from annotations.

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?

Front-loaded with the action, trigger and draft lifecycle, then placement, the `type` caveat and return values — every clause carries information. It is dense and would read better with light structuring, but there is no filler.

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 19-parameter write tool with no output schema, the description covers the creation workflow, placement choices, criticality semantics and even the return payload, while the 100%-covered schema carries individual field detail. Complete enough to call correctly, though the review/approval stage behavior is left entirely to field descriptions.

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 coverage is 100%, so the baseline is 3, but the description adds real semantic value by disambiguating `type` (criticality) from the separate `bugType` (nature of the defect) and by framing the placement parameters as a preference order. It stops short of explaining the remaining timing/assignee parameters, which the schema handles.

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?

States a specific verb and resource ("Creates a bug") and immediately scopes it as a draft that a token owner later publishes, which clearly separates it from sibling write tools like task_create. The distinct 'bug' resource plus the draft/review workflow makes the tool's identity 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?

Gives an explicit trigger ("when the user asks to log a defect") and lays out the placement options (feature, version, product backlog). It stops short of naming an alternative tool or stating when not to use this one, so it is clear context without exclusions.

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