Skip to main content
Glama

List SAP Agents

sap_list_agents
Read-onlyIdempotent

Compact SAP agent orientation list. Micro-read when limit <= 20, view is compact, hydrate is false, and includeProtocolIndexes is false; larger or enriched pages are read-premium. 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 20; 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / description
      Added value: +"List SAP Agents input schema. 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. Use exact field names from this schema; do not guess aliases or include private key material."
    • changedInput schema / properties / capabilities / items / description
      Previous value: -"Capabilities parameter for List SAP Agents."New value: +"Capabilities array describing agent/tool capabilities. Use stable IDs, protocol labels, and human-readable descriptions; validate category values before writes."
  2. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum rows to return. Defaults to 50; hard-capped at 500."New value: +"Maximum rows to return. Defaults to 20; hard-capped at 500."
  3. Changed15 schema fields changed
    • addedInput schema / properties / agentPda
      Added value: +{
      +  "description": "Optional exact SAP agent PDA filter.",
      +  "type": "string"
      +}
    • changedInput schema / properties / capabilities / description
      Previous value: -"Array of capability IDs to filter agents by (requires at least one)"New value: +"Optional list of capability IDs. Use capabilityMode=\"all\" when the agent must have every capability."
    • changedInput schema / properties / capability / description
      Previous value: -"Single capability ID to filter agents by (e.g. \"jupiter:swap\")"New value: +"Optional single capability ID filter matched case-insensitively. Example: \"creative:imageGeneration\" or \"jupiter:swap\"."
    • addedInput schema / properties / capabilityMode
      Added value: +{
      +  "description": "How to match the capability/capabilities filters. Defaults to \"any\".",
      +  "enum": [
      +    "any",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Opaque pagination cursor returned as pagination.nextCursor by a previous sap_list_all_agents or sap_discover_agents call.",
      +  "type": "string"
      +}
    • addedInput schema / properties / hasX402Endpoint
      Added value: +{
      +  "description": "Optional filter for agents that advertise a paid HTTP/x402 endpoint.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / hydrate / description
      Previous value: -"Whether to include full hydrated agent profiles in results (default: true)"New value: +"Deprecated compatibility alias. Use view=\"full\" for full rows or view=\"compact\" for directory rows."
    • addedInput schema / properties / includeInactive
      Added value: +{
      +  "description": "Include inactive agents. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includeProtocolIndexes
      Added value: +{
      +  "description": "Include compact protocol index summaries. Defaults to false for sap_discover_agents and true for sap_list_all_agents.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of agents to return (default: 50)"New value: +"Maximum rows to return. Defaults to 50; hard-capped at 500."
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Zero-based pagination offset. Defaults to 0. Prefer cursor after the first page when nextCursor is returned.",
      +  "type": "number"
      +}
    • changedInput schema / properties / protocol / description
      Previous value: -"Protocol identifier to filter agents by (e.g. \"jupiter\", \"drift\")"New value: +"Optional protocol filter matched case-insensitively against agent protocols and protocol-index membership. Example: \"jupiter\", \"creative\", \"payments\"."
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Optional text search across name, description, agentId, wallet, PDA, x402 endpoint, protocols, capabilities, and active plugins. Example: \"XONA\" or \"creative\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "Result shape. Use compact for broad discovery and full for detailed rows. Defaults to compact.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / wallet
      Added value: +{
      +  "description": "Optional exact owner wallet public key filter. Use this when a wallet is known; it is the most reliable lookup path.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already indicate read-only and idempotent, and the description reinforces this with 'Read-only SAP SDK wrapper.' It adds operational context about pricing and routing, which goes beyond annotations.

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?

The description is longer than necessary, with repetitive guidance about pricing and routing appearing both in the description and schema. It could be more concise without losing essential information.

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 15 parameters, no required ones, and an output schema, the description provides sufficient context about usage scenarios (compact vs full) and execution flow. It is fairly complete, though slightly repetitive.

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 description adds limited value beyond what the schema provides. The description does set high-level context but does not enhance individual parameter meanings significantly.

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 it lists SAP agents and distinguishes between compact and full views. However, it does not explicitly differentiate from similar sibling tools like sap_list_all_agents or sap_discover_agents, which reduces clarity.

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 some usage context (e.g., inspect chain state before mutations) and conditions for micro-read vs read-premium. But it does not give explicit guidance on when to use this tool over alternatives or when not to use it.

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.