Skip to main content
Glama
alicefarron
by alicefarron

Trigger a state machine event

trigger_event

Trigger state transitions in a live state machine by sending events like cat.forceTransition or pomodoro.start, enabling automated QA testing.

Instructions

Sends an event to the live state machine. Valid eventNames: "cat.forceTransition" (payload: { state: CatState }), "pomodoro.start" (payload?: { minutes }), "pomodoro.tick" (payload?: { dtSeconds }), "pomodoro.resume", "pomodoro.cancel". Call get_available_transitions first to see what's valid from the current state — invalid states/events are rejected with a clear error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadNoevent-specific payload, if the event needs one
eventNameYese.g. "cat.forceTransition", "pomodoro.start"
Behavior3/5

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

With no annotations, the description does not fully cover behavioral aspects like side effects or idempotency. It mentions error handling but lacks detail on mutation or safety profile.

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?

Two dense sentences, front-loaded with purpose, no wasted words.

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?

No output schema, but the description clearly explains usage and error behavior. Missing return value details, but acceptable for a command-like tool.

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

Parameters5/5

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

Schema coverage is 100% but the description adds specific valid event names and payload structures, greatly enriching parameter understanding beyond the 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?

The description clearly identifies the tool as sending events to a state machine, lists valid event names, and distinguishes itself from siblings by explicitly referencing get_available_transitions.

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?

The description provides explicit guidance to call get_available_transitions first to check valid transitions, and notes that invalid inputs will be rejected with clear errors.

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/alicefarron/sudo-meow-mcp'

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