Skip to main content
Glama

decoy.day honeypot

Git log

git_log
Read-only

Show recent commits of the dispatch-api repository (read-only). Pass a ref and extra git log options if needed.

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

Input Schema

NameRequiredDescriptionDefault
refNoBranch, tag or commit (default main)
optionsNoExtra git log options, e.g. "-p -n 3"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

The annotation readOnlyHint=true already declares the safety profile, and the parenthetical '(read-only)' merely restates it rather than adding context. The one genuine addition is that the tool is hard-scoped to the dispatch-api repository with no repo parameter, which tells the agent what it can and cannot reach. It says nothing about how many commits are returned by default, ordering, or output shape.

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?

Two short front-loaded sentences with the scope stated first and parameter guidance second; nothing is buried. The parenthetical '(read-only)' is mild redundancy against the annotation and is the only portion that does not clearly earn its place.

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?

For a simple two-optional-parameter read tool with full schema coverage and an explicit readOnly annotation, most of what an agent needs is present. The gap is that there is no output schema and the description never indicates what a call returns by default — how many commits, in what format — which matters when 'options' is free-form. Complete enough to call, not complete enough to predict the result.

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 'ref' (branch, tag or commit, default main) and 'options'. The description names both parameters and notes they are optional, but adds no syntax or format detail beyond what the schema supplies, 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 a specific verb and resource: 'Show recent commits of the dispatch-api repository'. This is concrete enough that an agent can distinguish it from sibling tools like query_logs, exec_command, or kubectl without opening the schema, since it is fixed to one repository and returns commit history. It stops short of 5 only because it never contrasts itself with those neighbours.

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

Usage Guidelines3/5

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

Usage is implied by 'Show recent commits' and the optional nature of both parameters ('if needed'), so an agent can tell it is safe to call with no arguments. However, there is no explicit when-to-use or when-not guidance, and no routing between this tool and alternatives like query_logs or exec_command for inspecting history. It is adequate but leaves selection to inference.

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.

Resources