Skip to main content
Glama

List pinned commits

list_commits
Read-onlyIdempotent

Lists pinned upstream commits from the local snapshot store, newest first, with manifest hash and index coverage so agents can select reproducible code snapshots.

Instructions

Pinned upstream commits of the local snapshot store, newest committer time first, with manifest hash and index coverage. Only pinned commits can be read; this server never fetches.

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": "list_commits"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNo
toolNo
errorNo
notesNo
commitNo
outcomeNo
warningsNo
truncatedNo
next_cursorNo
schema_versionNo
index_generationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: results are ordered newest committer time first, include manifest hash and index coverage, and the server never fetches remote data. Pagination or result-size behavior is not mentioned, which keeps it from a 5.

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 compact sentences with zero filler: the first states what is returned and in what order, the second states the access constraint. Ordering information is front-loaded and nothing is repeated from annotations or schema.

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 no-argument read tool with an output schema that documents return values, this description covers what is listed, the sort order, and the read-only/no-fetch boundary. Nothing an agent needs in order 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters and the schema is empty with additionalProperties false, so there is nothing for the description to disambiguate. The 0-parameter baseline applies, and the description correctly adds no spurious argument discussion.

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?

Names a specific resource ('Pinned upstream commits of the local snapshot store') and adds ordering plus returned fields (manifest hash, index coverage). It does not explicitly contrast with siblings such as resolve_commit, but the scope statement 'Only pinned commits can be read' makes the boundary clear enough to distinguish this listing tool from resolution/read tools.

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 line 'Only pinned commits can be read; this server never fetches' tells the agent when this tool applies and rules out fetching arbitrary upstream commits. It stops short of naming which sibling to use for resolution or span reading, so it is clear context rather than explicit alternative routing.

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