Skip to main content
Glama

code_activity

Read-onlyIdempotent

Find recorded code changes with diff excerpts by project, time, file, symbol, or kind to answer what changed in a file or when a parser changed.

Instructions

Code changes the capture service recorded, with diff excerpts, filtered by project, time range (happened_from/happened_to, ISO), file, symbol or kind. For "what did I change in auth.py last week?" or "when did the parser change?". Empty unless a code folder is being watched (automatic-capture.json, code_workspaces).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
symbolNo
file_pathNo
project_idNo
change_kindNo
happened_toNo
happened_fromNo
max_diff_charsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuine behavioral context beyond that: the 'empty unless a code folder is being watched (automatic-capture.json, code_workspaces)' caveat is a non-obvious precondition an agent must know to interpret empty results correctly. Return format is left to the output schema.

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-loads the core purpose, then follows with examples and a caveat. Three sentences with little waste. Minor redundancy between the filter list and the example questions, but overall tight and well-ordered.

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?

An output schema exists, so return-value explanation is unnecessary. The description supplies the essential usage framing and the empty-results precondition, making it largely complete for a read-only query tool. The only shortfall is the undocumented limit/max_diff_chars parameters.

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 0%, so the description carries the param burden. It compensates well for six of eight params by naming the filter concepts (project, file, symbol, kind) and explicitly calling out happened_from/happened_to with ISO format. However, limit and max_diff_chars are never mentioned, leaving two parameters unexplained.

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: 'Code changes the capture service recorded, with diff excerpts,' making clear it returns recorded code changes rather than memory items. This cleanly distinguishes it from every sibling (brain_remember, brain_recall, etc.), all of which are memory tools. An agent can identify its domain without opening the schema.

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?

Provides concrete example questions ('what did I change in auth.py last week?', 'when did the parser change?') that map directly to use cases, plus a critical precondition: results are empty unless a code folder is being watched. It doesn't explicitly name an alternative sibling, but the sibling set is a different domain, so routing guidance is effectively implicit.

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