Skip to main content
Glama

Create a case

kayako_create_case
Destructive

WRITE: open a new case (conversation) for a requester. channel MAIL sends the first message to the customer by email from the mailbox given as channel_id; channel NOTE creates it with an internal note and emails nobody. Get channel ids from kayako_list_channels and status/priority/type ids from kayako_list_case_options. Kayako: POST /api/v1/cases.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoMAIL only: CC addresses.
htmlNoMAIL/NOTE: treat contents as HTML (sanitized by Kayako).
tagsNoComma-separated tags.
channelYesMAIL, TWITTER, FACEBOOK or NOTE (internal, not sent).
form_idNo
subjectYesCase subject.
type_idNo
contentsYesBody of the first post.
status_idNo
channel_idNoChannel account id (e.g. the mailbox id). Required unless channel is NOTE.
priority_idNo
field_valuesNoCustom field values keyed by field key, e.g. {"order_number": "1234"}. For multi-select fields pass CSV options — ALL options must be passed; omitted ones are removed.
requester_idYesThe requester (customer user) id (integer).
assigned_team_idNo
assigned_agent_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true, so the description carries most of the burden and does well: it flags this as a WRITE, explains that channel MAIL actually sends the first message to the customer from the mailbox in channel_id, and that NOTE emails nobody — the key irreversible side effect. It doesn't mention auth/permission requirements, but the consequential behavior is disclosed.

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?

Three tight sentences, front-loaded with the WRITE warning, then the channel branching, then the id-lookup pointers, then the raw endpoint. Nothing is padding and the most decision-relevant content comes first.

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 15-parameter mutation with a nested field_values object and no output schema, the description covers the critical required-parameter workflow and where to source foreign ids. A few optional fields (form_id, assignment ids) are left undocumented, but nothing an agent must know to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 60%, so the description needs to compensate for the undocumented params and partially does: it explains channel/channel_id semantics and points to kayako_list_case_options for status_id, priority_id and type_id. However form_id, assigned_team_id and assigned_agent_id remain unexplained in both places, so coverage is incomplete.

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 — 'WRITE: open a new case (conversation) for a requester' — and clarifies the create-vs-reply-vs-update distinction implicitly through 'new case' and the channel semantics. An agent can tell this apart from kayako_reply_to_case and kayako_update_case without opening a 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 clear operational context: which channel to pick (MAIL emails the customer, NOTE is internal and sends nothing) and routes the agent to kayako_list_channels for channel ids and kayako_list_case_options for status/priority/type ids. It lacks an explicit when-not rule (e.g. use reply_to_case for follow-ups), but the create condition is unambiguous.

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.