Skip to main content
Glama

Record agent activity

record_activity

Append an agent event to the launchpad activity log so the timeline shows the current session; requires --allow-launchpad and includes runner, phase, repo, branch, and note.

Instructions

Append one event to the agent activity log so the launchpad's timeline shows this session. Requires --allow-launchpad.

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": {
      "runner": "<runner>",
      "phase": "<phase>"
    },
    "name": "record_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNoRepo id, name, or path.
agentNo
phaseYes
branchNo
runnerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=false, so safety posture is covered. The description adds genuinely new context — append-only one-event-per-call semantics, a required --allow-launchpad permission, and downstream visibility on the launchpad timeline — but leaves the failure mode (error vs. silent no-op without the flag) and event ordering/duplication behavior undisclosed.

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 short sentences, zero filler, with the core action and its purpose front-loaded and the permission prerequisite following. Nothing is redundant with the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation tool with 20% schema coverage, no output schema, and no annotations explaining parameter roles, the description does far too little — an agent still cannot tell what runner, phase, or agent values to supply or what the call returns. Only the permission gate and the append semantics are adequately covered.

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

Parameters2/5

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

Schema description coverage is only 20% — just the repo parameter is documented — and the description adds no meaning for runner, phase, agent, or branch. The phase enum includes "launch" while the description only mentions "launchpad," which could mislead rather than clarify, and the required runner/phase pairing is never explained.

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?

"Append one event to the agent activity log" gives a specific verb (append) and resource (activity log), and the clause "so the launchpad's timeline shows this session" states the observable outcome. It does not explicitly contrast with write_board/read_board or other write-style siblings, so it stops short of a 5.

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?

Usage is implied by the stated goal (call it when you want the session to appear on the timeline), and the "--allow-launchpad" prerequisite hints at a gating condition. However, there is no explicit when-not guidance, no named alternative for recording other kinds of activity, and no explanation of what to do if the flag is absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.