Skip to main content
Glama

Discover SAP Agents

sap_discover_agents

Paid hosted discovery for SAP agents. Search and filter the current on-chain AgentAccount directory by query, wallet, protocol, capability, x402 endpoint presence, and cursor pagination. Use this for targeted agent discovery before calling per-agent fetch tools. SAP MCP context: Read-only SAP SDK wrapper against the configured Solana RPC and SAP program. Use these reads to inspect current chain state before mutating registry, payment, reputation, memory, or tool accounts.

SAP MCP execution guidance: Intent: read/discovery workflow. Pricing: paid read-premium; estimate first, then use sap_payments_call_paid_tool when the runtime cannot replay x402 natively. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoResult shape. Use compact for broad discovery and full for detailed rows. Defaults to compact.
limitNoMaximum rows to return. Defaults to 50; hard-capped at 500.
queryNoOptional text search across name, description, agentId, wallet, PDA, x402 endpoint, protocols, capabilities, and active plugins. Example: "XONA" or "creative".
cursorNoOpaque pagination cursor returned as pagination.nextCursor by a previous sap_list_all_agents or sap_discover_agents call.
offsetNoZero-based pagination offset. Defaults to 0. Prefer cursor after the first page when nextCursor is returned.
walletNoOptional exact owner wallet public key filter. Use this when a wallet is known; it is the most reliable lookup path.
hydrateNoDeprecated compatibility alias. Use view="full" for full rows or view="compact" for directory rows.
agentPdaNoOptional exact SAP agent PDA filter.
protocolNoOptional protocol filter matched case-insensitively against agent protocols and protocol-index membership. Example: "jupiter", "creative", "payments".
capabilityNoOptional single capability ID filter matched case-insensitively. Example: "creative:imageGeneration" or "jupiter:swap".
capabilitiesNoOptional list of capability IDs. Use capabilityMode="all" when the agent must have every capability.
capabilityModeNoHow to match the capability/capabilities filters. Defaults to "any".
hasX402EndpointNoOptional filter for agents that advertise a paid HTTP/x402 endpoint.
includeInactiveNoInclude inactive agents. Defaults to false.
includeProtocolIndexesNoInclude compact protocol index summaries. Defaults to false for sap_discover_agents and true for sap_list_all_agents.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesMCP content blocks returned to the caller.
isErrorNoTrue when the tool result represents an application-level error.

TDQS

B3.1/5.0
Behavior1/5

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

The description claims 'Read-only SAP SDK wrapper' and 'Use these reads to inspect current chain state', but the annotation readOnlyHint is false. This is a direct contradiction, severely undermining transparency. Additionally, the description adds details about pricing and routing that go beyond annotations, but the contradiction overrides.

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?

The description is front-loaded with the core purpose in the first sentence. It includes two paragraphs: one for tool function, one for SAP MCP execution context. Though somewhat verbose with pricing and routing details, it remains well-structured and each sentence adds value.

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 tool's 15 parameters and output schema existence, the description covers the read-only usage, pricing model, and intended workflow. It lacks a direct comparison to sibling listing tools, but overall provides sufficient context for an agent to use it appropriately.

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%, so the schema already describes all parameters. The description lists filter types but adds no additional semantics beyond the schema. Baseline 3 is appropriate as the description does not deepen parameter understanding.

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 clearly states the purpose: 'Paid hosted discovery for SAP agents' with filtering by query, wallet, protocol, etc. It positions the tool for targeted discovery before per-agent fetch tools. However, it does not explicitly distinguish from similar sibling tools like sap_list_agents or sap_list_all_agents, leaving some ambiguity.

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 provides usage guidance: 'Use this for targeted agent discovery before calling per-agent fetch tools' and discusses read-only context before mutations. However, it does not specify when not to use it (e.g., for a single known agent via sap_get_agent) or alternatives explicitly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.2/5.0
Disambiguation4/5

Tools are organized by protocol prefix (e.g., adrena_, jupiter_, sap_) which helps distinguish domains. Within each protocol, tool names clearly indicate actions (e.g., openPosition, getQuote). However, with 360 tools, some cross-protocol overlaps (e.g., multiple swap tools) and many similar fetch tools in the sap_* family require careful reading of descriptions to disambiguate.

Naming Consistency4/5

Each protocol group follows a consistent naming convention (e.g., snake_case for adrena_, camelCase for 3land, sap_ prefix for SAP SDK tools). The mix of conventions across protocols is acceptable, though a uniform style would improve predictability. Minor inconsistency: hyphenated names like metaplex-nft_ vs underscores.

Tool Count2/5

360 tools is far too many for a well-scoped MCP server. This aggregates dozens of protocols and SAP-specific features, making navigation difficult. The server would benefit from being split into focused micro-servers (e.g., SAP identity, Jupiter DEX, NFT tools). The current count overwhelms the coherence of the set.

Completeness4/5

The tool set covers a vast range of Solana ecosystem activities: token operations, swaps, staking, NFT management, bridging, oracle data, identity registration, chat, escrow, subscriptions, and premium streaming. Major lifecycle operations are present, though some niche subdomains may have missing functions (e.g., detailed governance or lending management). Overall, it's comprehensive for the intended scope.