Skip to main content
Glama

Patch MCP

list_activity

Read-onlyIdempotent

Read owned history newest first. kind=call (default) requires calls:read and returns call statuses, resolution summaries/outcomes and listen links. kind=test requires configuration:read and returns finished synthetic tests. kind=all requires both permissions. Pass next_cursor unchanged with the same kind to fetch older entries.

Input Schema

NameRequiredDescriptionDefault
kindYescall
limitYes
cursorNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / cursor / minLength
      Added value: +1
    • addedInput schema / properties / kind
      Added value: +{
      +  "default": "call",
      +  "enum": [
      +    "call",
      +    "test",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "limit"
      -]New value: +[
      +  "kind",
      +  "limit"
      +]
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "error": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "message": {
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "type": "string"
      -      },
      -      "operation_id": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation_id",
      -      "status"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "activities": {
      +        "items": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "call_id": {
      +                  "maxLength": 200,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "callee_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "created_at": {
      +                  "format": "date-time",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +                  "type": "string"
      +                },
      +                "direction": {
      +                  "enum": [
      +                    "inbound",
      +                    "outbound"
      +                  ],
      +                  "type": "string"
      +                },
      +                "duration_seconds": {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                "from": {
      +                  "type": "string"
      +                },
      +                "is_public": {
      +                  "type": "boolean"
      +                },
      +                "kind": {
      +                  "const": "call",
      +                  "type": "string"
      +                },
      +                "listen_url": {
      +                  "type": "string"
      +                },
      +                "number_id": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 200,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "objective": {
      +                  "type": "string"
      +                },
      +                "outcome": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "achieved",
      +                        "partially_achieved",
      +                        "not_achieved",
      +                        "no_conversation",
      +                        "unknown",
      +                        "pending"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "status": {
      +                  "type": "string"
      +                },
      +                "summary": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "to": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "created_at",
      +                "number_id",
      +                "direction",
      +                "status",
      +                "duration_seconds",
      +                "summary",
      +                "kind",
      +                "call_id",
      +                "from",
      +                "to",
      +                "callee_name",
      +                "objective",
      +                "is_public",
      +                "listen_url",
      +                "outcome"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "created_at": {
      +                  "format": "date-time",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +                  "type": "string"
      +                },
      +                "direction": {
      +                  "enum": [
      +                    "inbound",
      +                    "outbound"
      +                  ],
      +                  "type": "string"
      +                },
      +                "duration_seconds": {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                "kind": {
      +                  "const": "test",
      +                  "type": "string"
      +                },
      +                "number_id": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 200,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "scenario": {
      +                  "type": "string"
      +                },
      +                "status": {
      +                  "type": "string"
      +                },
      +                "summary": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "test_id": {
      +                  "maxLength": 200,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "created_at",
      +                "number_id",
      +                "direction",
      +                "status",
      +                "duration_seconds",
      +                "summary",
      +                "kind",
      +                "test_id",
      +                "scenario",
      +                "title"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "kind": {
      +        "enum": [
      +          "call",
      +          "test",
      +          "all"
      +        ],
      +        "type": "string"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "operation_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "activities",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "message": {
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "type": "string"
      +      },
      +      "operation_id": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation_id",
      +      "status"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only and idempotency; the description adds what the annotations cannot: newest-first ordering, the fields each kind returns (statuses, resolution summaries/outcomes, listen links, finished synthetic tests), and the permission required per kind. It does not mention pagination end conditions or whether unfinished tests are excluded beyond 'finished'.

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?

Four tight sentences, front-loaded with the scope, then kind/permission mapping, then pagination. No filler and no restatement of the tool name.

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 present, the description correctly avoids over-explaining response shapes while still flagging what each kind yields. Permissions and paging are covered; the only real gap is `limit` (default 20, max 100), which the description never addresses.

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 coverage is 0%, so the description must compensate. It explains kind thoroughly and gives real cursor semantics (pass the returned next_cursor unchanged, keep the same kind), but the required `limit` parameter is never mentioned at all, and the description's 'next_cursor' label differs from the schema's `cursor`, which could confuse an agent.

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?

States a concrete verb and resource ('Read owned history newest first') and immediately splits the resource into call/test/all kinds, which no sibling tool covers. It stops short of a single crisp noun phrase ('activity' is never named as calls+tests together), but an agent can still tell it apart from get_call, get_agent_test_listener, and the list_* siblings.

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 per-kind conditions (calls:read for kind=call, configuration:read for kind=test, both for kind=all) and states how to continue paging with next_cursor and the same kind. It never says when to prefer get_call or get_agent_test over this history view, so a small routing gap remains.

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