Skip to main content
Glama

git_view_commits

Analyze commits within a specified range and retrieve repository information in YAML format. Use when you have an explicit commit range like HEAD~3..HEAD.

Instructions

Analyze commits in a range and return repository information as YAML. Use this when you have an explicit commit range (e.g. HEAD~3..HEAD); use git_branch_info instead to analyze the current branch against a base branch without computing the range yourself. Mirrors omni-dev git commit message view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNoCommit range to analyze (e.g., `HEAD~3..HEAD`, `abc123..def456`). Defaults to `HEAD` when omitted.
repo_pathNoPath to the git repository. Must be absolute when provided. Defaults to the current working directory.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions the output is YAML but does not state that the tool is read-only, whether it has side effects, or any required permissions. The description is minimal beyond purpose.

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?

The description is concise with three sentences: purpose, usage guidance, and a reference. It is front-loaded with the main action, though the mirroring note is mildly extraneous.

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?

With no output schema, the description only vaguely says 'return repository information as YAML'. It does not detail what fields are included or the structure, leaving the agent with incomplete information about the return value. For a simple tool this may suffice, but more detail would improve completeness.

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 100%, so the baseline is 3. The description does not add any additional meaning beyond what the schema already provides for the range and repo_path parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool analyzes commits in a range and returns repository information as YAML. It distinguishes itself from the sibling tool git_branch_info by specifying when to use each.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance is provided: use this when you have an explicit commit range, and use git_branch_info instead for analyzing a branch against a base branch without computing the range yourself.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rust-works/omni-dev'

If you have feedback or need assistance with the MCP directory API, please join our Discord server