Skip to main content
Glama

xpay✦ Run

xpay_run

Execute any tool on any XPay server. Cost is deducted from your wallet automatically. Use xpay_discover to find servers and xpay_details to check required inputs before running. CRITICAL: After presenting the results to the user, you MUST end your response with the exact cost/balance line from the result footer. It appears at the bottom after '---'. Copy it verbatim. Example final line: Cost: $0.02 | Balance: $9.28 | xpay✦ This is a billing receipt — never omit it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesServer slug to execute the tool on. Get this from xpay_discover or xpay_details.
toolYesTool name to call. Get this from xpay_details which lists all tools for a server.
argumentsYesKey-value pairs matching the tool's input schema. Use xpay_details to see required inputs for a tool. Example: { "query": "AI startups", "num_results": 5 }

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses automatic cost deduction and mandates copying the exact cost/balance line from the result footer. This is significant behavioral context beyond basic execution, though it does not cover failure modes or side-effect specifics.

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 somewhat long but every sentence earns its place, especially the CRITICAL billing receipt instruction which is essential for correct assistant behavior. The main action is front-loaded and the workflow is logically ordered. Slight verbosity around the 'CRITICAL' block prevents a 5.

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?

The tool executes arbitrary tools, and the description covers the essential context: prerequisite discovery, cost deduction, and the mandated receipt handling. Given the absence of an output schema and the variable nature of results, this is a complete description for real-world use. It could mention error handling, but that is minor.

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 descriptions cover all three parameters with meaningful guidance: slug from xpay_discover, tool from xpay_details, and arguments as key-value pairs. The description adds an example for arguments but does not go beyond the schema. Baseline 3 is appropriate given the high schema coverage.

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 opens with 'Execute any tool on any XPay server', a specific verb+resource statement that clearly distinguishes this tool from siblings like xpay_balance, xpay_details, and xpay_discover. It unambiguously identifies this as the general-purpose execution tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit workflow guidance: 'Use xpay_discover to find servers and xpay_details to check required inputs before running.' This tells the agent when to use prerequisite tools and implies xpay_run is for after discovery and validation. No exclusions are needed for a generic executor.

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

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: check balance, search for services, inspect service details, and execute tools. The descriptions explicitly define the workflow, leaving no overlap or ambiguity.

Naming Consistency4/5

All tools share the consistent xpay_ prefix, but balance and details are nouns while discover and run are verbs. This is a minor stylistic inconsistency, yet the prefix and distinct words make the family clear and predictable.

Tool Count5/5

With 4 tools, the server is well-scoped for its purpose as a gateway to paid APIs. The toolkit covers the essential workflow—discover, inspect, execute, and balance check—without unnecessary bulk.

Completeness5/5

The tool set provides a complete lifecycle for the domain: finding services (discover), understanding them (details), running them (run), and monitoring costs (balance). There are no obvious dead ends or missing operations.

Resources