Skip to main content
Glama
MCP File Operations Server

MCP File Operations Server

by itcom

app_git_branch

Displays Git branch information for a repository or specified directory, helping you confirm the current branch before running Git operations or workflows.

Instructions

【app】Gitブランチ情報を表示します

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

Input Schema

NameRequiredDescriptionDefault
directoryNoGitリポジトリのディレクトリパス(省略時はルート)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does not meet it: it does not say whether the operation is read-only, whether it lists local and/or remote branches, what happens outside a repository, or what the output looks like. 'Display' weakly implies a safe read, but nothing is confirmed.

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?

One short sentence with no filler, and the resource is front-loaded. It is efficient, though the extreme brevity leaves little room for the context the tool actually needs.

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?

The tool is simple (one optional parameter, no output schema, no annotations), but the description never clarifies the scope of 'branch information' or repository preconditions. For a tool with zero annotation coverage, more disclosure is expected even at low complexity.

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%, and the single optional parameter (directory, defaulting to root) is fully documented in the schema. The description adds no meaning beyond it, 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?

"Gitブランチ情報を表示します" states a clear verb (display) and a specific resource (Git branch information), which distinguishes it reasonably from siblings like app_git_log or app_git_diff. It stops short of explicitly contrasting itself with any named sibling, so it is clear but not maximally differentiated.

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?

There is no when-to-use guidance, no stated prerequisites (e.g., must be inside a Git repo), and no mention of alternatives such as app_git_status or app_git_log. The agent must infer the calling context entirely.

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