Skip to main content
Glama

DebugGetMemorySizes

Retrieves memory usage sizes for a stopped debuggee, helping you inspect memory consumed during ABAP debugging. Requires an active stopped debuggee and runs outside batch mode.

Instructions

[read-only] [debug] Memory the stopped debuggee uses. Needs a stopped debuggee. Runs outside batch mode.

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it).terse
state_handleYesOpaque handle identifying the server-held state this operation works on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv20.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the safety burden itself by tagging the tool [read-only] and [debug] and stating the state precondition (stopped debuggee) plus the operational constraint (not usable in batch mode). It stops short of saying what happens when the precondition is unmet (error vs. empty result) or how expensive the call is.

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, front-loaded sentences with no filler; the read-only and debug tags lead, then the purpose, then the two constraints. Slight redundancy between the tags and the terse prose keeps it from a 5.

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?

For a diagnostic getter with no output schema, the description never indicates what the returned memory figures look like (which memory categories, units, or shape). Combined with no guidance relative to the snapshot tools, an agent can invoke it but cannot anticipate the result.

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% and both parameters are documented in-schema, including the enum for detail with its three levels. The description adds nothing about state_handle or detail, so the baseline 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?

The description conveys the resource precisely: memory consumption of the currently stopped debuggee. There is no explicit verb ("Memory the stopped debuggee uses" is a noun phrase), and it does not distinguish itself from sibling memory tools such as DebugCreateMemorySnapshot, MemorySnapshotGet, or MemorySnapshotList.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Needs a stopped debuggee" and "Runs outside batch mode" are concrete preconditions that tell the agent when the call is valid. It does not, however, say when to prefer this over the snapshot siblings (MemorySnapshotList / DebugCreateMemorySnapshot), which is the main remaining ambiguity.

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