Skip to main content
Glama
GMAC MCP Server

GMAC MCP Server

by bsommers

Repo Local Info

repo_local_info
Read-only

Retrieves where a GitHub repository is cloned on the local machine, returning clone paths, remote details, and git status from owner/name input without making GitHub calls or changing files.

Instructions

Where a repo is cloned on this machine: clone paths, remote and git status.

full_name is owner/name, e.g. octocat/hello. Reads local disk only (no GitHub calls, no changes). clones is empty when the repo is not cloned.

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": {
      "full_name": "<full_name>"
    },
    "name": "repo_local_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
full_nameYes

Output Schema

NameRequiredDescriptionDefault
errorNo
clonesNo
remoteNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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, and the description usefully reinforces and extends that: it explicitly states no GitHub calls and no changes, and discloses the important edge case that `clones` is empty when the repo is not cloned locally. That edge-case behavior is not recoverable from annotations or schema and is exactly what an agent needs.

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?

Three short lines: purpose first, then parameter format, then behavioral constraints and the empty-result edge case. Every sentence earns its place; the parenthetical 'no GitHub calls, no changes' is slightly compressed but not wasteful.

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

Completeness5/5

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

For a one-parameter read tool with an output schema present, the description covers purpose, parameter format, isolation guarantees, and the empty-clones case. Nothing an agent needs in order to call it correctly is missing, and return-value details are rightly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for the single parameter, and it does: `full_name` is defined as `owner/name` with a concrete example (`octocat/hello`). It stops short of covering case sensitivity or invalid-input behavior, but the core format ambiguity is resolved.

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 concrete resource and payload — clone paths, remote, and git status for a repo on this machine — which is far more specific than the bare title 'Repo Local Info'. It also implicitly separates itself from the GitHub-API siblings by stating it reads local disk only, though it never names an alternative tool outright.

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 the framing ('where a repo is cloned on this machine') and reinforced by the 'no GitHub calls, no changes' note, which tells the agent this is a local filesystem probe. However there is no explicit when-to-use/when-not-to-use statement or direction to a sibling for remote metadata.

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