Skip to main content
Glama

Create defect

create_defect

Log a defect in a project with title and priority, and optionally attach local files to provide supporting evidence.

Instructions

Create a new defect in a project. Use get_defect_metadata to see valid priority values. Optionally attach local files (png, pdf, jpg, jpeg, gif, xls, xlsx, doc, docx, csv, log, zip, txt; max 2 MB each).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priorityYesPriority of the defect (see get_defect_metadata)
filePathsNoLocal file paths to attach
projectKeyYesProject key
issueSummaryYesTitle of the defect
Behavior3/5

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

No annotations are present, so the description carries the behavioral disclosure burden. It usefully discloses optional file attachment behavior, allowed file extensions, and the 2 MB per-file limit, and it exposes the dependency on defect metadata. However, it does not mention authentication or write-permission requirements, whether the operation is reversible or idempotent, or what type of response the caller should expect after creation.

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 three sentences with no redundancy: action, prerequisite lookup, and optional attachment constraints. The most important selection information is front-loaded in the first sentence, and every sentence contributes information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is sufficient to select the tool and understand the main input constraints, but with no output schema and no annotations it should state what a successful creation returns, such as a defect key or ID. It also leaves the required issueSummary parameter undescribed in the text, relying on the schema and the agent's inference from the word 'defect.'

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?

Even with high schema coverage, the description adds real value beyond the input schema by constraining filePaths to a concrete allowed-format list and a 2 MB per-file size cap that the schema does not specify. It also confirms priority values should come from get_defect_metadata. It does not elaborate on issueSummary, but the schema lists it as required.

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 opens with a specific action verb and resource: 'Create a new defect in a project.' This clearly distinguishes it from sibling creation tools like create_test_case, create_requirement, or create_module, while adding the project scoping that the bare title lacks.

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 context for when to use the tool is clear from 'Create a new defect in a project,' and the description explicitly directs the agent to consult get_defect_metadata for valid priority values before invoking. It does not enumerate exclusions such as 'do not use for requirements,' but the resource-focused wording gives sufficient routing guidance.

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/Darshitpipariya/qa-touch-mcp'

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