Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

sap_fetch_subscription

Retrieve subscription details using a subscription PDA or a combination of agent PDA, subscriber wallet, and subscription ID.

Instructions

Fetch a subscription by PDA or by agent PDA/subscriber/subId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subIdNoSubscription ID (default: 0) — used with agentPda and subscriber
agentPdaNoAgent PDA (base58) — used when subscriptionPda is omitted
subscriberNoOptional subscriber wallet (base58) to filter by
subscriptionPdaNoSubscription PDA (base58) to fetch directly
Behavior3/5

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

No annotations are provided, so the description alone must disclose behavior. It correctly indicates a read operation ('Fetch'), but lacks details on authentication, rate limits, or error conditions. For a simple fetch, this is adequate but not thorough.

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 a single, efficient sentence with no redundant information. It front-loads the action and immediately clarifies the two usage paths.

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?

Given the low complexity (4 optional params, no nested objects, no output schema), the description provides sufficient context for a fetch operation. It explains the primary lookup methods, though the absence of return value information is acceptable for this type of tool.

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%, so the schema already documents all 4 parameters. The description adds context by grouping parameters (subId with agentPda and subscriber) and clarifying the alternative subscriptionPda, but this does not significantly surpass the schema's own descriptions.

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?

The description clearly states the tool fetches a subscription and specifies two distinct lookup methods: by subscription PDA or by agent PDA/subscriber/subId. This is a specific verb-resource pairing that differentiates it from other sap_fetch_* tools.

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?

The description implies when to use the tool (to fetch a subscription) and outlines the two ways to query. However, it does not explicitly state when not to use it or mention alternatives, but the context is clear given the sibling tools.

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

Install Server

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/OOBE-PROTOCOL/sap-mcp'

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