Skip to main content
Glama

list_agent_history

Read-onlyIdempotent

Retrieve an agent's recorded change history to investigate configuration changes, with pagination and resource-type filters.

Instructions

List an agent's recorded change history to investigate configuration changes.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "list_agent_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results; defaults to 50
offsetNoPagination offset
agent_idYesAgent UUID
resource_typeNoFilter by resource type

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.2.4
    • changedInput schema / properties / agent_id / description
      Previous value: -"UUID do agente"New value: +"Agent UUID"
    • changedInput schema / properties / limit / description
      Previous value: -"Limite de resultados (default: 50)"New value: +"Maximum results; defaults to 50"
    • changedInput schema / properties / offset / description
      Previous value: -"Offset para paginação"New value: +"Pagination offset"
    • changedInput schema / properties / resource_type / description
      Previous value: -"Filtrar por tipo de recurso"New value: +"Filter by resource type"
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds little beyond that – it does not disclose ordering of results, how far back history is retained, or what a history entry contains. Since annotations carry the behavioral burden, a 3 is appropriate.

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?

A single front-loaded sentence with the resource and purpose stated immediately and zero filler. Nothing in it is redundant.

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

Completeness3/5

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

All four parameters are fully documented in the schema and the safety profile is covered by annotations, so the essentials are present. With no output schema, though, the description does not describe the shape or ordering of returned history entries, which leaves a real gap for an agent interpreting results.

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 100%, with clear descriptions for agent_id, limit, offset, and the resource_type enum, so the schema does the heavy lifting. The description adds no additional semantics about filtering or pagination beyond what the schema already states, matching the baseline 3.

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 gives a specific verb ('List') and resource ('an agent's recorded change history') plus the motivating purpose (investigating configuration changes). It is clear what the tool returns, but it never distinguishes itself from a similarly-scoped sibling like get_session_history, 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?

The phrase 'to investigate configuration changes' implies the use case (auditing/debugging why an agent's config changed), which is useful implied guidance. However, there is no explicit when-to-use/when-not-to-use statement and no named alternative for fetching single history entries or session-level history.

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