Skip to main content
Glama

ReadResource

Reads the text and metadata of an ABAP resource using its URI so you can inspect content and properties in SAP systems.

Instructions

[read-only] Reads a resource's text and metadata.

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": {
      "uri": "<uri>"
    },
    "name": "ReadResource"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYesThe URI returned for the resource.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv26.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the read-only nature and that the result contains text plus metadata, which is meaningful behavioral context. It says nothing about behavior for invalid, missing, or binary resources, nor about size limits or permissions.

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 sentence with the read-only constraint front-loaded in brackets. No filler or redundancy.

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 one-parameter read tool with no output schema, the description adequately conveys what is returned (text and metadata). The remaining gap is error behavior for a bad URI, which is minor given the tool's simplicity.

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% and the single 'uri' parameter is documented as 'The URI returned for the resource'. The description adds no format, encoding, or sourcing detail beyond the schema, so the baseline of 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?

States a specific verb and resource: it reads a resource's text and metadata. The resource is named and the returned content is described. It does not differentiate from the obvious sibling WriteResource, but the read-only read purpose is unambiguous.

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 versus alternatives such as WriteResource or the envelope tools. It does not state prerequisites, such as where the URI comes from or what to do if the URI is unknown.

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