Skip to main content
Glama

get-git-history

Returns git commit history for a project (all vaults) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return (default 50, max 200).
authorNoFilter: exact match on commit author (case-insensitive).
branchNoFilter: exact match on branch name.
offsetNoNumber of results to skip, for pagination.
api_keyNoOptional API key for clients that cannot set X-API-Key headers.
date_toNoFilter: commits on or before this date (YYYY-MM-DD).
vault_idNoVault id (from create-code-vault or list_vaults). Returns data for this vault only.
date_fromNoFilter: commits on or after this date (YYYY-MM-DD).
project_idNoProject id (from create_project). Returns data aggregated across all vaults in the project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well on access control: it discloses the paid-plan requirement, excludes verification-only plans, and explains both auth paths (X-API-Key header or api_key argument fallback). It stops short of describing read-only semantics, return shape, or rate 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?

Four tight sentences, zero filler, front-loaded with purpose and scope before the exclusivity rule and auth details. Every sentence conveys a constraint the caller 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?

Covers the key risk areas for a 9-param, no-annotation, no-output-schema tool: resource scope, mutual exclusivity, and authentication/plan gating. The one remaining gap is that nothing describes the shape of returned commit records, which the absent output schema cannot compensate for.

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 every parameter and the oneOf mutual-exclusivity constraint. The description restates the 'exactly one' rule and adds rationale for api_key, but contributes little beyond the structured data. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Returns git commit history') and explicitly distinguishes the two scopes: project-wide (aggregated across all vaults) vs. single vault. No sibling tool in the list covers git history, so the agent can identify this tool immediately.

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?

Explicitly states the selection rule: 'Provide exactly one of project_id or vault_id,' with each parameter's semantic scope documented. It does not name alternative tools for adjacent needs, but for a uniquely-scoped resource tool the routing guidance is clear.

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.