Skip to main content
Glama

Get events

get_events
Read-onlyIdempotent

Read a page of workspace events or events for one resource.

    A call-specific response includes the current ``call_status``.
    Terminal call states are completed, failed, busy, no_answer and canceled.
    This is a snapshot for checking progress. ``call_status`` is null for
    workspace-wide results and for non-call resource filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOne resource: ``call:<uuid>``, ``email:<uuid>`` or ``sms:<uuid>``, with the ID from ``place_call``, ``send_email``, ``send_sms`` or their list tools. Omitted: events for the whole workspace.
kindNoOnly events of this type, such as state_change, agent_turn, user_turn, tool_call or error.
limitNoMaximum records returned on this page.
cursorNoPagination cursor: the ``next_cursor`` from the previous page. Omitted: the first page.
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  2. Changed5 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"How many items one page holds. ``next_cursor`` in the response points to the next page."New value: +"Maximum records returned on this page."
    • addedOutput schema / $defs
      Added value: +{
      +  "EventResponse": {
      +    "description": "One event on the unified GET /events stream (call, email, or SMS).",
      +    "properties": {
      +      "call_id": {
      +        "anyOf": [
      +          {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The call this event belongs to. Set only when source='call'.",
      +        "title": "Call Id"
      +      },
      +      "email_id": {
      +        "anyOf": [
      +          {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The email this event belongs to. Set only when source='email'.",
      +        "title": "Email Id"
      +      },
      +      "id": {
      +        "description": "Unique identifier for this event.",
      +        "format": "uuid",
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "description": "Event kind within the source (e.g. 'queued', 'delivered', 'bounced'). Vocabulary differs per source.",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "occurred_at": {
      +        "description": "When this event occurred, ISO 8601 timestamp.",
      +        "format": "date-time",
      +        "title": "Occurred At",
      +        "type": "string"
      +      },
      +      "payload": {
      +        "additionalProperties": true,
      +        "description": "Event-kind-specific detail, as a free-form JSON object.",
      +        "title": "Payload",
      +        "type": "object"
      +      },
      +      "sms_id": {
      +        "anyOf": [
      +          {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The message this event belongs to. Set only when source='sms'.",
      +        "title": "Sms Id"
      +      },
      +      "source": {
      +        "description": "Which channel this event belongs to: 'call', 'email', or 'sms'.",
      +        "enum": [
      +          "call",
      +          "email",
      +          "sms"
      +        ],
      +        "title": "Source",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "source",
      +      "call_id",
      +      "email_id",
      +      "sms_id",
      +      "kind",
      +      "payload",
      +      "occurred_at"
      +    ],
      +    "title": "EventResponse",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "call_status": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "queued",
      +              "dialing",
      +              "ringing",
      +              "in_progress",
      +              "completed",
      +              "failed",
      +              "busy",
      +              "no_answer",
      +              "canceled"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Current status of the call named by the id filter (e.g. id=call:<uuid>). Null for org-wide tails and non-call filters, since there is no single call to report a status for.",
      +        "title": "Call Status"
      +      },
      +      "items": {
      +        "description": "Events in this page, oldest first.",
      +        "items": {
      +          "$ref": "#/$defs/EventResponse"
      +        },
      +        "title": "Items",
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Opaque cursor for the next page. Null when there are no more results.",
      +        "title": "Next Cursor"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "next_cursor",
      +      "call_status"
      +    ],
      +    "title": "EventStreamResponse",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"get_events_toolDictOutput"
  3. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Number of items per page."New value: +"How many items one page holds. ``next_cursor`` in the response points to the next page."
  5. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description goes beyond them by enumerating terminal call states and stating that call_status is null for workspace-wide and non-call filters. That null/terminal-state detail is real behavioral context an agent would not get from the annotations, though it drifts toward return-value description.

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 scoping sentence is front-loaded and the rest is short, but the reST double-backtick markup and mid-sentence line breaks add visual noise without information. Nothing is genuinely redundant, so it stays above adequate.

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?

With an output schema, full parameter documentation and safety annotations, the description only needs to add scope and status semantics, which it does. The main remaining gap is guidance on choosing this tool over get_email_events for email-specific event reads.

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 id, kind, limit and cursor are fully documented structurally and the baseline applies. The description only restates that results are paged and scoped to one resource, adding no syntax or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb (read) and resource (workspace events / events for one resource) plus the paging scope. It implicitly separates workspace-wide from per-resource queries, but does not name a sibling such as get_email_events to sharpen the distinction.

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?

"This is a snapshot for checking progress" implies a polling/progress-check use case, which is useful context. However, there is no explicit when-not guidance and no named alternative for the related email-event listing tool, so the agent must infer the boundary.

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.