Skip to main content
Glama

Agent activity

agent_activity
Read-onlyIdempotent

What an agent has been doing: its recent conversations (the last question and answer) and the workflows that use it, with how each one's last run went.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe agent's name (or part of it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent, closed-world, and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: it discloses truncation ('the last question and answer'), not full conversation history, and that the result includes per-workflow last-run status. It stops short of noting volume limits, ordering, or behavior when the name matches multiple agents.

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?

A single sentence, front-loaded with the core concept ('What an agent has been doing') and then the returned contents. No filler or redundancy. The colon-plus-parenthetical construction is slightly dense but every clause carries information.

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 no output schema, the description carries the burden of describing return values, and it does so for both major components (conversations and workflows with last-run outcome). Annotations cover the safety and side-effect profile. What is missing is scope information such as how many conversations are returned and whether workflows are limited or filtered.

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?

There is a single parameter and the schema documents it fully at 100% coverage, including partial-match semantics ('The agent's name (or part of it)'). The description adds nothing about the name argument, so the baseline of 3 applies. Ambiguity around how multiple partial matches are resolved is left entirely to the schema, which also does not address it.

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 description states concretely what the tool returns: the agent's recent conversations with the last question/answer pair, plus the workflows using that agent and each workflow's last run outcome. That is far more specific than the title 'Agent activity'. It does not, however, distinguish itself from the similarly named sibling summarise_activity, leaving the agent to infer the difference.

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?

There is no explicit when-to-use guidance, no exclusions, and no named alternative. Given that summarise_activity sits in the same sibling set and sounds like it covers adjacent ground, the description should have said which one to pick for a quick activity recap versus a summarized report; it offers nothing on this point.

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.