Skip to main content
Glama

AI Source of Truth Evidence Rooms

Read the access log

get_log
Read-only

The case's hash-chained access log: who did what and when, with the agent and the person it acted for. Scope: cases:read. REST twin: GET /api/cases/:id/log. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required.

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": {
      "case_id": "<case_id>"
    },
    "name": "get_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoReturn events after this seq.
limitNo
case_idYesThe case id (cas_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world, and the description adds real context beyond them: the log is hash-chained (tamper-evident/append-only), it records the acting agent plus the person it acted for, and it requires the cases:read scope. The enumerated error set (including consent_required) is useful operational detail.

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-loaded with the resource and its contents, then scope, REST twin, and errors as compact fragments. Every element earns its place; the telegraphic fragment style is efficient rather than padded.

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?

With no output schema, the description does the needed work by describing what each entry contains (actor, delegated person, timestamp/action) and listing failure modes. Minor gaps remain around ordering and pagination behavior for the after/limit pair.

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 67% — case_id and after are documented in the schema, but limit has no description. The description adds nothing about parameter meaning (e.g., that 'after' enables cursor-style paging or how limit interacts with ordering), so it only meets the baseline for a partially documented schema.

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 names a specific resource — the case's hash-chained access log — and describes its contents ('who did what and when, with the agent and the person it acted for'), which tells an agent exactly what this tool returns. It does not explicitly contrast itself with a sibling such as get_event_proof, so it falls 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 rather than stated: the log's audit-trail nature suggests reading it for activity/attribution questions, and the scope line ('cases:read') signals prerequisites. There is no explicit when-to-use or when-to-prefer-an-alternative guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources