Skip to main content
Glama

History

history
Read-onlyIdempotent

An app's commits, newest first, with the next_skip cursor — or pass sha for one commit's metadata, changed files and unified patch. Untrusted: the patch may hold visitor text.

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": {
      "app": "<app>"
    },
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app slug.
shaNoOne commit to show, with its changed files and unified patch (untrusted). Not with `path` or `skip`.
pathNoOnly commits touching this path. Not with `sha`.
skipNoCommits to skip (the next_skip cursor). Not with `sha`.
pathsNoWith `sha`: only these files' patch (repo-relative). The stat list still names every changed file.

Output Schema

NameRequiredDescriptionDefault
headNo
rootNo
filesNo
commitNo
commitsNo
next_skipNo
truncatedNo
untrusted_noticeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent, closed-world profile, so the bar is lower. The description adds real value beyond them: commits come newest first, results are paginated via next_skip, and patch content is untrusted visitor text — a useful prompt-injection warning. It does not discuss auth or output 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?

A single compact sentence with zero waste, front-loading the primary list mode, then the sha variant, then the trust caveat. Every clause carries information an agent needs.

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?

Given the fully documented five-parameter schema and an existing output schema, the description covers modes, ordering, pagination, and untrusted content. Remaining gaps, such as the exact shape or size of the patch field, are reasonably delegated to the output schema.

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%, so the schema already documents app, sha, path, skip, and paths including mutual exclusions. The description reinforces the sha-vs-list semantics but adds no syntax or format details beyond what the schema provides, so the baseline of 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 specific verbs and resources: listing an app's commits with the next_skip cursor, or fetching a single commit's metadata, changed files, and unified patch via sha. This clearly separates the two operating modes. It does not disambiguate against the sibling 'commit' tool, which is a plausible source of selection confusion.

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?

The description tells the agent which mode is appropriate: omit sha for the newest-first list, pass sha for one commit's details. It does not state exclusions or alternatives against sibling tools like 'commit' or 'search_code', so it sits below a full 5.

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.