Skip to main content
Glama
mikimatsub

swsd-mcp

by mikimatsub

swsd_create_incident

Create a new SWSD incident by providing a short title and optional details like description, priority, requester email, and category. Returns the incident ID for follow-up actions.

Instructions

Create a new SWSD incident. Required: name. Strongly recommended: description, requester_email, priority, category_name. The created incident's ID is returned for follow-up calls (swsd_assign_incident, swsd_add_incident_comment, etc.). WRITE — does not retry on transient failure; the agent should verify with swsd_get_incident before retrying. To set tenant-specific custom field values, pass custom_fields: [{name, value}] — call swsd_describe_custom_fields first to discover field names and (for Dropdowns) allowed values. Validated for Text, Dropdown, Number, Checkbox, and Date types.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesShort incident title (required).
descriptionNoLong-form description of the issue. Plain text or HTML.
priorityNoPriority name (e.g., "Low", "Medium", "High"). Tenant-specific values.
requester_emailNoEmail of the user the ticket is for. Defaults to the token owner if omitted.
assignee_emailNoEmail of the agent to assign on creation. Use swsd_assign_incident later instead if you want to defer.
category_nameNoCategory name (must match an existing SWSD category — see swsd_list_categories).
site_nameNoSite name (see swsd_list_sites).
department_nameNoDepartment name (see swsd_list_departments).
custom_fieldsNoSet tenant-specific custom field values on the record. Multi_picklist and User-type fields are not yet supported by this tool (set those via the SWSD UI). Validated for Text, Dropdown, Number, Checkbox, and Date types.
Behavior5/5

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

Annotations already indicate a write operation (readOnlyHint=false, idempotentHint=false). The description adds critical behavioral detail: 'WRITE — does not retry on transient failure; the agent should verify with swsd_get_incident before retrying' and notes un-supported custom field types. No contradictions with 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?

Concise and well-structured: opens with the core action, then required/recommended fields, followed by behavioral notes (WRITE, retry behavior), then custom field instructions. Every sentence adds information, no redundancy.

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?

Given 9 parameters, no output schema, and the need to guide creation flow, the description covers all key aspects: prerequisites (required fields), error handling (verify before retry), custom field discovery and validation, and unsupported features. It also hints at the output (returned ID) for follow-up calls.

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 descriptions already explain most parameters. However, the description adds significant value by highlighting which parameters are strongly recommended, explaining the custom_fields array's validation rules in depth (date format, dropdown values, etc.), and clarifying that it does not support multi_picklist or User types.

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 'Create a new SWSD incident' with explicit required and recommended fields. It distinguishes itself by naming follow-up tools (swsd_assign_incident, swsd_add_incident_comment) and contrasting with update/read tools, making its specific role unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance: required `name`, strongly recommended fields, when to use custom fields (after calling swsd_describe_custom_fields), and crucially, what to do on transient failure (verify with swsd_get_incident before retrying). Also clarifies unsupported custom field types (multi_picklist, User) and validates allowed types.

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/mikimatsub/swsd-mcp'

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