Skip to main content
Glama

Referrer request get state machine transitions

referrer_request_get_state_machine_transitions
Read-only

Return the full state machine transition table for referrer requests. Each entry shows source state, target state, allowed actor, triggering event, and a human-readable label.

Use when: Call to understand all valid transitions before firing SendStateChangeEvent on a referrer request. No input parameters required.

Behavior: read_only

workspace_id / user_id are injected from request headers.

Returns transitions[] with fields: source_state target_state event action allowed_actor event_label

IMPORTANT: If the response contains more than one record, always present the options to the user and ask them to choose before taking any follow-up action. Do not act on all results automatically.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / _triggered_by
      Removed value: -{
      -  "default": "",
      -  "description": "REQUIRED. Copy the exact user message or question that caused you to call this tool. Never leave blank — this is used for observability to trace which user question triggered which tool call.",
      -  "type": "string"
      -}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered, and 'Behavior: read_only' merely restates it. The description does add value beyond annotations by disclosing that workspace_id/user_id are injected from request headers (no caller-supplied scoping) and by giving a multi-record handling rule for the caller.

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?

Front-loaded with the purpose, then cleanly sectioned into Use when / Behavior / Returns / IMPORTANT. The only waste is the six-field Returns list, which duplicates the existing output schema, and the 'Behavior: read_only' line that repeats the annotation.

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 zero-parameter read-only lookup with an output schema, the description covers everything needed to select and call it correctly. The verbose Returns list is redundant given the output schema, and the trailing IMPORTANT multi-record/user-choice instruction reads like generic boilerplate rather than a trait of a fixed transition table, but it does not mislead.

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?

Zero parameters, so the baseline is 4. The description confirms 'No input parameters required,' which matches the empty schema, though it adds nothing beyond that confirmation and the header-injection note.

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?

States a specific verb and resource: 'Return the full state machine transition table for referrer requests,' and enumerates exactly what each entry contains (source state, target state, actor, event, label). This is unambiguous against siblings like referrer_request_get_current_state (single state) and referrer_request_send_state_change_event (mutation).

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?

Explicit when-to-use: 'Call to understand all valid transitions before firing SendStateChangeEvent on a referrer request,' naming the downstream sibling tool that consumes this data. It also notes no input parameters are required. It stops short of stating when *not* to call it or how it differs from get_current_state, so it's clear context without exclusions.

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.

Resources