Skip to main content
Glama

get_git_info

Retrieves Git repository details for a web application using its server ID and webapp ID, helping inspect deployment source and configuration.

Instructions

Get git repository information for a web application

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": {
      "serverId": "<serverId>",
      "webappId": "<webappId>"
    },
    "name": "get_git_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverIdYesThe ID of the server
webappIdYesThe ID of the web application

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about whether this is read-only, what permissions or server access are required, or what happens when no git repository is configured for the webapp. The only behavioral hint is the implicit read semantics of the verb 'Get'.

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?

A single front-loaded sentence with zero filler, but its brevity edges into under-specification rather than precision. Nothing is wasted, though more could have been said without bloat.

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?

The tool is simple (two required numeric IDs, no nesting, no output schema), so a short description is defensible. However, with no output schema the description should at least indicate what the returned repository information contains; that gap leaves the agent guessing about the response shape.

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 serverId and webappId are already documented in the schema and the baseline is 3. The phrase 'for a web application' loosely reinforces that webappId scopes the lookup, but adds no syntax, format, or constraint detail beyond the schema.

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 gives a specific verb ('Get') and resource ('git repository information') scoped to a web application, which distinguishes it from mutation siblings like clone_git_repository, deploy_git, and delete_git_repository. It stops short of saying what 'information' means (branch, remote URL, deploy script, status), so the exact payload remains ambiguous.

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 guidance on when to use this tool versus related siblings such as deploy_git, change_git_branch, or get_webapp. The agent must infer from the name alone that this is the read-only inspection call for an existing git repo.

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