Skip to main content
Glama
cryptomotifs

cipher-x402-mcp

by cryptomotifs

jito_tip_calculator

Compute the expected-value-maximizing Jito tip for a Solana arbitrage bundle. Input pool depth, expected profit, and slot probability to receive tip in lamports and EV breakdown.

Instructions

Compute an expected-value-maximizing Jito tip for a Solana arbitrage bundle. Inputs: pool_depth (USD), expected_profit (USD), slot_probability [0..1]. Returns tip lamports + EV breakdown. Priced at $0.01 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_paymentNoOptional. Signed x402 v2 X-PAYMENT header value (base64-encoded EIP-3009 authorization). If present, forwarded upstream; if absent, tool returns the 402 accept-list.
slot_probYesProbability the leader slot is a Jito validator [0..1].
pool_depthYesTarget pool depth in USD.
expected_profitYesGross expected profit of the bundle in USD.
Behavior4/5

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

No annotations provided, but description discloses paid nature, x402 authorization requirement, and fallback behavior. Includes input constraints (slot_probability range) and output description.

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?

Concise 5-sentence paragraph. Purpose is front-loaded. Every sentence adds necessary information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description covers return values (tip lamports + EV breakdown), all inputs, and payment mechanism. Sufficient for an agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline 3. Description adds units (USD, [0..1]) and explains the role of _payment. Also mentions return format, which helps interpret inputs.

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?

Clearly states 'Compute an expected-value-maximizing Jito tip for a Solana arbitrage bundle.' Verb and resource are specific. No sibling tool overlaps with this domain.

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?

Explains when to include the payment parameter and what happens without it. Context is clear, but no explicit when-to-use vs alternatives since siblings are unrelated.

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/cryptomotifs/cipher-x402-mcp'

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