Skip to main content
Glama

Get Action Audit History

task_history
Read-only

Returns recent sanitized browser action audit history, optionally filtered by task ID or session ID, so you can review automation activity.

Instructions

Return recent sanitized browser action audit history (filtered optionally by task_id or session_id).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of recent history entries to return (default: 50)
task_idNoOptional filter by task ID
session_idNoOptional filter by session ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds one genuinely useful behavioral fact — results are 'sanitized' (redacted) — but says nothing about ordering (newest first?), whether results are truncated at the limit, or whether older entries are reachable at all.

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 front-loaded sentence with no filler; the scope word 'recent' and 'sanitized' come before the parenthetical. Slight redundancy in re-listing the two filter parameters that the schema already names prevents a 5.

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?

The tool is simple (three optional scalar params, no nesting), and the safety profile is carried by annotations. However, with no output schema the agent receives no indication of what a history entry contains (action type, timestamp, outcome), which is the main thing missing for correctly consuming this tool's 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%: limit (1-200, default 50), task_id and session_id are all documented in the schema with their optionality and default. The description only restates that the two ID filters are optional, adding no format hints (e.g., whether IDs must match exactly) beyond the schema. Baseline 3 applies.

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 and resource: 'Return recent sanitized browser action audit history', with the optional filter dimensions named in parentheses. An agent can tell this is a read of historical action records rather than a live state check like task_status or task_summary, though no sibling is named 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?

Says the filters are optional and that results are 'recent', which implies usage for retrospective inspection, but gives no explicit when-to-use or when-not-to-use guidance against the closely related task_status/task_summary/task_checkpoint siblings. The agent must infer the choice from the resource name alone.

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