Skip to main content
Glama

Airlok

Что изменил коммит

get_commit_changes
Read-only

Какие файлы изменил коммит репозитория приложения и сколько строк в каждом, без самого кода. Хеши — из list_commits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>",
      "sha": "<sha>"
    },
    "name": "get_commit_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
shaYesполный хеш коммита

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine return-scope information beyond that: it returns file paths and line counts but not the diff code, which prevents an agent from using it to read patches. It does not discuss pagination or truncation for very large commits.

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 short sentences, zero filler, with the return scope front-loaded and the hash source trailing as supporting context. Every clause carries information an agent 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?

For a two-parameter read tool with a fully documented schema and no output schema, the description covers purpose, return content, and parameter provenance. The main remaining gap is how this differs from compare_commits, which matters because both operate on commits.

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 both parameters are already documented, including the app identifier forms and the requirement for a full hash. The description adds only a pointer on where to obtain the sha (list_commits), which is marginally useful but does not deepen the schema's meaning.

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?

The description names a specific verb+resource pair: which files a commit changed plus per-file line counts, for a given app's repository. It also carves out scope by stating the code itself is excluded, which is more precise than the name alone. It stops short of contrasting with the sibling compare_commits, so an agent must infer that difference.

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 context is implied rather than spelled out: hashes come from list_commits, which is a useful prerequisite for the required sha parameter. There is no explicit statement of when to pick this over compare_commits or list_commits, and no mention of limitations such as large commits or merge commits.

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