Skip to main content
Glama

Get Agent Session Changes

get_agent_session_changes
Read-only

Retrieve the audit ledger of content items changed during an agent session, including actions and timestamps. Defaults to the current MCP session; audit permissions required.

Instructions

The audit ledger for an agent session: every content item it changed, with actions and timestamps. Defaults to the current MCP session. Requires audit permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoAgent session ID. Defaults to this MCP session's own ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv7.3.4

TDQS

A3.9/5.0
Behavior4/5

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

readOnlyHint=true already establishes the safety profile, so the description's added disclosure of the audit-permission prerequisite and the default-to-current-session scoping is genuine value beyond the annotation. It stops short of describing result ordering or volume limits.

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 tight sentences with zero filler; the core purpose is front-loaded and the scoping/permission facts follow in priority order.

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

Completeness5/5

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

For a one-parameter read tool with no output schema, the description covers what is returned (changed content items with actions and timestamps), the default scope, and the permission requirement. Nothing an agent needs to call it correctly is missing.

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 100% and the single parameter's default is already documented in the schema, so the description's 'defaults to the current MCP session' is largely redundant. Baseline 3 is appropriate when the schema carries the parameter meaning.

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 specific verb+resource: the audit ledger of content items changed by an agent session, with actions and timestamps. It is clearly distinct from the broad list_audit_logs and from get_agent_sandbox, though it never names those siblings explicitly.

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?

Provides useful context: defaults to the current MCP session and requires audit permissions. However, it gives no explicit when-to-use guidance or comparison against the sibling list_audit_logs, so the agent must infer the choice.

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

Deploy Server

Other Tools