Skip to main content
Glama

Read Message Class

sap_get_message_class
Read-onlyIdempotent

Retrieve all messages from an ABAP message class, returning message IDs, texts, and metadata to inspect or locate specific T100 content.

Instructions

Read all messages in an ABAP message class (T100 content + metadata).

Args:

  • name (string): message class name.

  • response_format.

Returns (json): { name, description?, language?, count, messages: [{id, text, selfExplanatory?}] }.

Examples:

  • "What messages are in ZFI_MSGS?" -> name='ZFI_MSGS'.

  • "Find the text for message 001 in class VR" -> name='VR' then look for id='001'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesMessage class name (e.g. 'ZFI_MSGS', 'VR').
response_formatNoOutput format: 'markdown' (human-readable, default) or 'json' (structured).markdown
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive. The description adds a concrete return shape with optional fields (description?, language?, selfExplanatory?) and an example of how to locate a message by id. It does not mention error behavior or pagination, but the core read-only nature is clear. No contradiction with annotations.

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?

The description is compact and well-organized into summary, args, returns, and examples. It is under 150 words and every section adds value. The only minor repetition is the response_format name without a type, but the schema covers it.

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?

Though there is no output schema, the description provides a clear return shape and examples. It leaves open how the default 'markdown' response_format renders (the return shape is shown as json only) and does not address large message sets or not-found cases. Given the tool's simplicity and annotations, this is adequate but not fully complete.

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. The description adds example name values ('ZFI_MSGS', 'VR') and clarifies post-processing ('look for id='001''). It does not significantly expand on the response_format semantics, so a baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States it reads all messages in an ABAP message class (T100 content + metadata). The verb 'read' and resource 'ABAP message class' are specific and distinct from sibling tools like sap_get_text_elements. Examples clarify the exact object ('ZFI_MSGS').

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?

The description shows example queries and how to map them to the 'name' parameter, which implies when to use it. However, it never explicitly contrasts this tool with alternatives or lists conditions where another sibling (e.g., sap_get_text_elements, sap_read_table) would be preferred. So usage guidance remains implicit.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appmaster3000/sap-abap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server