Skip to main content
Glama

RuntimeListFeeds

Reads ABAP runtime feeds—short dumps, system messages, gateway errors, feed descriptors, and variants—by user, object, time range, and filters to diagnose runtime issues.

Instructions

[read-only] [runtime] Reads the ADT runtime feed named by feed_type: with feed_type "dumps", the ABAP short dumps (runtime errors) of the program or object named by object_name, of the user named by user, in the time range from–to, filtered also by runtime error, exception, package and application component; with "system_messages" or "gateway_errors", the system messages or SAP Gateway errors of the user and time range; with "descriptors" (the default) or "variants", the feeds and their variants. Entries come newest first; each dump carries its dump_id. When more entries remain, next_to is the to that reads on; incomplete_second names a second holding more entries than SAP answers in one request. Takes feed_type (one feed: its answer) or feed_types (several feeds with the same filters: one entry per feed, in the order given, each its answer or { feed_type, error }). Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on. When feed_type is one of descriptors, variants (absent reads as descriptors) and feed_types is absent, recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "RuntimeListFeeds"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of time range in YYYYMMDDHHMMSS format, inclusive; pass a previous next_to here to read on.
fromNoStart of time range in YYYYMMDDHHMMSS format.
userNoEntries of this SAP user (exact match).
packageNoDumps whose object package contains this text, in any case.
timeoutNoSeconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.
componentNoDumps whose application component contains this text, in any case.
exceptionNoDumps whose exception class contains this text, in any case.
feed_typeNoFeed to read. "descriptors" lists available feeds, "variants" lists feed variants, others read that specific feed. Default: descriptors.
feed_typesNoSeveral feeds, read together with the same filters (give this or feed_type).
max_resultsNoMost entries to return, up to 1000; SAP answers at most 100 per request and the pages are read in turn. An answer holds whole seconds, so it may hold a few entries fewer, or a crowded second more, than asked. Default: 50.
object_nameNoDumps whose terminated object name contains this text, in any case.
runtime_errorNoDumps whose runtime error contains this text, in any case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv20.1.0
    • removedInput schema / properties / feed_type / default
      Removed value: -"descriptors"
    • addedInput schema / properties / feed_types
      Added value: +{
      +  "description": "Several feeds, read together with the same filters (give this or feed_type).",
      +  "items": {
      +    "enum": [
      +      "descriptors",
      +      "variants",
      +      "dumps",
      +      "system_messages",
      +      "gateway_errors"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / timeout
      Added value: +{
      +  "description": "Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP.",
      +  "maximum": 2147483,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. Changed8 schema fields changedv16.0.0
    • addedInput schema / properties / component
      Added value: +{
      +  "description": "Dumps whose application component contains this text, in any case.",
      +  "type": "string"
      +}
    • addedInput schema / properties / exception
      Added value: +{
      +  "description": "Dumps whose exception class contains this text, in any case.",
      +  "type": "string"
      +}
    • changedInput schema / properties / max_results / description
      Previous value: -"Maximum number of entries to return."New value: +"Most entries to return, up to 1000; SAP answers at most 100 per request and the pages are read in turn. An answer holds whole seconds, so it may hold a few entries fewer, or a crowded second more, than asked. Default: 50."
    • addedInput schema / properties / object_name
      Added value: +{
      +  "description": "Dumps whose terminated object name contains this text, in any case.",
      +  "type": "string"
      +}
    • addedInput schema / properties / package
      Added value: +{
      +  "description": "Dumps whose object package contains this text, in any case.",
      +  "type": "string"
      +}
    • addedInput schema / properties / runtime_error
      Added value: +{
      +  "description": "Dumps whose runtime error contains this text, in any case.",
      +  "type": "string"
      +}
    • changedInput schema / properties / to / description
      Previous value: -"End of time range in YYYYMMDDHHMMSS format."New value: +"End of time range in YYYYMMDDHHMMSS format, inclusive; pass a previous next_to here to read on."
    • changedInput schema / properties / user / description
      Previous value: -"Filter feed entries by SAP username."New value: +"Entries of this SAP user (exact match)."
  3. Addedv6.5.1

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations at all, the description carries the full burden and does: it marks itself read-only, discloses that it runs on its own ABAP session, explains exactly what happens when timeout fires (read cancelled, session logged off, system unchanged), describes ordering (newest first), pagination via next_to, the incomplete_second overflow case, and the recordable batch-mode behavior where a call answers with empty content and is read later by number.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Nearly all content is substantive, but it is delivered as one long run-on block rather than front-loaded clauses or bullets, which makes the critical routing information (feed types, pagination, batch caveat) harder to scan. The timeout paragraph is also duplicated almost word-for-word from the input schema, which is wasted space.

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

Completeness4/5

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

For a 12-parameter, no-annotation, no-output-schema tool, it covers the essentials: filtering semantics, ordering, pagination continuation, overflow handling and batch recording. What it omits is the shape of non-dump entries (system_messages, gateway_errors, descriptors/variants), so an agent knows a dump's dump_id but not what fields other feeds return.

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 coverage is 100%, so the baseline is 3; the description nonetheless adds value by explaining parameter *interactions* the schema does not: feed_type vs feed_types as mutually exclusive alternatives, that next_to should be passed back as `to`, and that a missing feed_type reads as descriptors. It does repeat the timeout text nearly verbatim from the schema, which caps this below a 5.

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 a specific verb and resource ('Reads the ADT runtime feed named by feed_type') and then enumerates each of the five feed types with what it returns, so an agent can map a task (dumps vs system messages vs feed discovery) to the right mode without opening the schema. It also effectively distinguishes itself from siblings like RuntimeListSystemMessages and RuntimeGetGatewayErrorLog by showing those are feed types of this tool.

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?

Gives concrete selection rules: default is 'descriptors' when feed_type is absent, and feed_types is the alternative when several feeds share filters (with an explicit per-feed error shape). It also prescribes setting timeout below the client's request limit and warns that a client cancel does not stop SAP. It never states when *not* to use this tool or names a sibling to prefer instead, so it stops short of a 5.

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