Skip to main content
Glama

Search Commits

search_commits
Read-onlyIdempotent

Search commit history by query to locate relevant changes, filter by scope, sort by date or impact, and audit high-impact commits with low trust or missing validation.

Instructions

Search commit history by query

Input Schema

NameRequiredDescriptionDefault
queryNoSearch query to match in commit messages
scopeNoFilter commits by a specific scope
sortByNoSort commits by date or impact score
maxCountNoMaximum number of commits to return. Default: 50
use_test_dbNo
techDebtAuditNoFilter for high impact commits with low trust or missing validation

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
errorNoHuman-readable error message
commitsNo
detailsNoAdditional error context
successYes
categoryNoError category (validation, query, connection, internal)
changelogNo
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world behavior. The description adds no further behavioral context, such as result format, pagination, or how filters like techDebtAudit affect results.

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 a single front-loaded sentence with no wasted words. It is appropriately concise, though its terseness leaves important usage details unstated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with six parameters, including scope, sortBy, and techDebtAudit, the description is too thin. The output schema covers return values, but the description does not explain how the filters should be used or when this search is preferable to sibling tools.

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 high at 83%, so the schema already documents most parameters. The description adds no parameter meaning beyond the schema, which is acceptable at this coverage level but not enriching.

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 a specific verb and resource: 'Search commit history by query.' It is clear what the tool does, but it does not distinguish itself from siblings like get_commit_history or analyze_commit_patterns.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives such as get_commit_history, get_unreleased_commits, or search_entries. It implies a search use case but provides no exclusions or selection criteria.

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

Deploy Server

Other Tools