Skip to main content
Glama
RavennaHQ

Ravenna MCP Server

Official
by RavennaHQ

Ravenna MCP Server

This is a Model Context Protocol (MCP) server for the Ravenna help desk platform, allowing LLMs to create, update, and retrieve tickets directly from Ravenna.

Features

  • Create tickets with title, description, priority, and tags

  • Update existing tickets (title, description, status, priority, etc.)

  • List tickets with various filters (status, priority, assignee, tags)

  • Get detailed information about specific tickets

Related MCP server: OTRS MCP Server

Setup

  1. Clone the repository

  2. Install dependencies:

npm install
# or
bun install
  1. Set your Ravenna API key as an environment variable:

export RAVENNA_API_KEY=your_api_key_here

Running the Server

bun run index.ts
# or
npm run start

The server runs on stdio, making it compatible with MCP clients like Claude Desktop or other MCP-enabled applications.

Tools

Create Ticket

Creates a new ticket in Ravenna.

Required fields:

  • title: The title of the ticket

  • description: A detailed description of the ticket

Optional fields:

  • priority: Ticket priority (low, medium, high, urgent)

  • tags: Array of string tags to categorize the ticket

Example:

{
  "title": "Website login issue",
  "description": "Users are unable to log in to the customer portal after the latest update.",
  "priority": "high",
  "tags": ["website", "login", "customer-portal"]
}

Update Ticket

Updates an existing ticket in Ravenna.

Required fields:

  • id: The ID of the ticket to update

Optional fields:

  • title: Updated title of the ticket

  • description: Updated description of the ticket

  • status: Updated status (open, in_progress, pending, resolved, closed)

  • priority: Updated priority (low, medium, high, urgent)

  • assignee: User ID to assign the ticket to

  • tags: Updated tags for the ticket

Example:

{
  "id": "12345",
  "status": "in_progress",
  "assignee": "user_id_123",
  "priority": "high"
}

List Tickets

Lists tickets in Ravenna with optional filters.

Optional fields:

  • status: Filter by ticket status (open, in_progress, pending, resolved, closed, all)

  • priority: Filter by ticket priority (low, medium, high, urgent, all)

  • assignee: Filter by assignee user ID

  • tags: Filter by tags (any match)

  • limit: Maximum number of tickets to return

Example:

{
  "status": "open",
  "priority": "high",
  "limit": 10
}

Get Ticket

Get detailed information about a specific ticket.

Required fields:

  • id: The ID of the ticket to retrieve

Example:

{
  "id": "12345"
}

API Reference

This server uses the Ravenna API, as documented in https://docs.ravenna.ai/api-reference/.

MCP Integration

This server implements the Model Context Protocol (MCP), making it compatible with MCP clients. It exposes tools that can be used by large language models to interact with Ravenna.

Environment Variables

  • RAVENNA_API_KEY: Your Ravenna API key (required)

Error Handling

All tools include proper error handling and will return appropriate error messages if issues occur. Make sure your Ravenna API key is correctly set up and that you have the necessary permissions to perform operations.

Available Tools

4 tools
create_ticketB

Create a new ticket in Ravenna

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYesThe title of the ticket
descriptionYesA detailed description of the ticket
priorityNoPriority of the ticket (low, medium, high, urgent)
tagsNoTags to categorize the ticket

TDQS

B3.1/5.0
Behavior2/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, but the description adds no behavioral context such as side effects, required permissions, or return behavior for a creation tool.

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?

The description is a single concise sentence that efficiently states the purpose, though it could include more detail without being verbose.

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

Completeness2/5

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

Given the tool has 4 parameters, no output schema, and no explanation of return values or constraints, the description is insufficiently complete for an agent to fully understand the tool's behavior.

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 100%, so the description need not explain parameters; it adds no extra meaning beyond the schema, meeting the baseline.

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 'Create a new ticket in Ravenna' uses a specific verb and resource, clearly distinguishing it from sibling tools like get_ticket, list_tickets, and update_ticket.

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

Usage Guidelines2/5

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

No guidance is provided on when to use create_ticket versus alternatives, nor any prerequisites or conditions for usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_ticketB
Read-onlyIdempotent

Get detailed information about a specific ticket

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe ID of the ticket to retrieve

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already mark it as read-only, non-destructive, idempotent. Description adds 'detailed information' but doesn't specify return format or any edge cases. Adequate given 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?

Single concise sentence, no unnecessary words. Could be slightly more precise about what 'detailed information' includes, but highly efficient.

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?

No output schema, so description should hint at response structure. Does not mention that it returns full ticket details, fields like status, priority, etc. Missing for a simple retrieval tool.

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?

Only one parameter (id) fully described in schema (100% coverage). Description repeats 'a specific ticket' but adds no new meaning beyond schema.

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?

Clearly states 'Get detailed information about a specific ticket', using a specific verb and resource. Distinguishes from siblings like list_tickets which returns multiple tickets.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus list_tickets or how to obtain the ticket ID first. Implied usage from name, but no explicit context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_ticketsA
Read-onlyIdempotent

List tickets in Ravenna with optional filters

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by ticket status
priorityNoFilter by ticket priority
assigneeNoFilter by assignee user ID
tagsNoFilter by tags (any match)
limitNoMaximum number of tickets to return

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this as read-only and idempotent. The description adds the 'Ravenna' context but otherwise restates the filter capability already in the schema. No contradictions.

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?

Single sentence with no wasted words. Essential information (action, resource, context, filter capability) is front-loaded.

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?

Lacks information about pagination, default ordering, or which fields are returned. However, the schema provides parameter descriptions, and annotations cover safety. It is adequate but not fully complete for a list operation.

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 has 100% description coverage for all 5 parameters. The description only repeats 'optional filters' without adding new meaning beyond what the schema provides.

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 the verb 'List', the resource 'tickets', and the context 'in Ravenna', with optional filters. This distinguishes from sibling tools (create, get, update) which have different actions.

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

Usage Guidelines3/5

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

The description implies usage for querying multiple tickets with filters, but does not explicitly compare to alternatives like get_ticket for single tickets or provide when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

update_ticketB

Update an existing ticket in Ravenna

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe ID of the ticket to update
titleNoUpdated title of the ticket
descriptionNoUpdated description of the ticket
statusNoUpdated status of the ticket
priorityNoUpdated priority of the ticket
assigneeNoUser ID to assign the ticket to
tagsNoUpdated tags for the ticket

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already indicate mutability (readOnlyHint=false), but the description adds no additional behavioral context such as side effects, permissions, or error states. With annotations present, the bar is higher, and the description contributes little beyond the obvious.

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 a single, efficient sentence with no unnecessary words. It is front-loaded with the core action and resource.

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

Completeness2/5

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

The description lacks critical context such as whether the update is a partial or full replacement (patch semantics), expected return value, or any side effects. Given the absence of an output schema, more context is needed for effective tool use.

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 100%, so each parameter is documented in the schema. The description adds no extra meaning beyond what the schema provides, meeting the baseline for this dimension.

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 uses a specific verb ('Update') and resource ('ticket'), and clearly distinguishes from sibling tools (create_ticket, get_ticket, list_tickets) which have different actions.

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

Usage Guidelines2/5

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

No guidance is provided on when or when not to use this tool, nor any context about prerequisites or alternatives. The description simply states the action without usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv1.1.0
    • First observedcreate_ticket
    • First observedget_ticket
    • First observedlist_tickets
    • First observedupdate_ticket

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct ticket action (create, get, list, update) with no overlap.

Naming Consistency5/5

All tools follow a consistent verb_ticket pattern: create_ticket, get_ticket, list_tickets, update_ticket.

Tool Count4/5

4 tools is a reasonable count for a focused ticket server, covering core operations without being excessive.

Completeness3/5

Basic CRUD is present but missing delete_ticket, which is a notable gap for ticket management.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers