Skip to main content
Glama

GetAbapGitFile

Read one file from an abapGit repository, choosing the local system copy or the remote branch copy, to inspect or compare its contents.

Instructions

[read-only] Reads one file of an abapGit repository, as the system holds it or as the remote branch holds it.

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": {
      "repository_key": "<repository_key>",
      "filename": "<filename>",
      "version": "<version>"
    },
    "name": "GetAbapGitFile"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYesWhich version of the file: local (the system's) or remote (the remote branch's).
filenameYesThe file name, as GetAbapGitStaging lists it (for example zcl_demo.clas.abap).
repository_keyYesThe key of a linked repository, as ListAbapGitRepos answers it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. The '[read-only]' prefix and local/remote distinction disclose non-mutating behavior and version semantics, but nothing about permissions, error behavior, or return format.

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?

A single front-loaded sentence with no filler; the read-only tag and core action come first. Efficient for the amount of information given.

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 definition covers purpose and basic version scope, but for a tool with no annotations and no output schema it does not describe return values, error handling, or selection guidance. Adequate given the rich parameter schema, but with clear gaps.

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%, so the schema already documents all three parameters including the version enum and references to sibling list tools. The description only restates the local/remote distinction and adds no format or usage 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?

States a specific verb ('Reads') and resource ('one file of an abapGit repository'), and clarifies local versus remote scope. It does not name or differentiate against sibling tools such as GetAbapGitStaging, so it falls short of a 5.

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?

No explicit when-to-use or when-not-to-use guidance and no alternatives named. The local/remote distinction helps choose the version parameter but does not help an agent select this tool over siblings.

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