AgentSLA

Check API and MCP endpoints, search 21k indexed APIs, signed SLA checks and refundable USDC escrow.

Should I use this

Quality & Safety

A
Description quality
98%
Schema completeness
91%
Naming quality
94%
Poisoning risk
60%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domainin verify_endpoint_sla
  • MEDIUMTool description contains URL to non-standard domainin buy_pass

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~3,078Tokens (tool definitions)
~1.5 KBTypical response size
Significant attention impact (2.40% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "agentsla": {
      "url": "https://agentsla.io/mcp"
    }
  }
}

Remote endpoints

https://agentsla.io/mcpstreamable-http

What it can do

Tool inventory

Tools (10)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢discover_monitored_apis(search, category, callableOnly, limit)

Searches the 21,328 APIs and MCP servers indexed by AgentSLA by keyword and/or category. Use it first to find candidate services; then get_api_details for one listing, or check_endpoint to test a URL live. Free, read-only, served from the index (no live probing). Returns totalIndexed, matchedCount and up to `limit` listings, each with id, service_name, endpoint_url, category, link_type ("api" = callable endpoint, "listing-page" = a directory page about the service, "spec-file" = an API description file) and current_sla_score (share of recent probes that answered, null if never probed). Callable APIs come first. When a category matches nothing, availableCategories lists the valid ones.

Input Schema

{
  "type": "object",
  "properties": {
    "search": {
      "type": "string",
      "description": "Keywords matched against service name and URL, e.g. \"weather\", \"stripe\", \"solana rpc\". Omit to browse a category."
    },
    "category": {
      "type": "string",
      "description": "Category slug: mcp-connectors, ai-models, data-retrieval, autonomous-agents, cloud, developer_tools, web3-rpc, image-generation, security, financial, marketing, analytics, ecommerce, iot, payment, defi-data. Display names such as \"Web3 RPC\" or \"LLM Inference & AI Models\" also work. Omit for all categories."
    },
    "callableOnly": {
      "type": "boolean",
      "default": false,
      "description": "true returns only callable endpoints (link_type \"api\"), skipping directory pages and spec files."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 25,
      "description": "Maximum listings to return."
    }
  },
  "additionalProperties": false
}
🟢get_api_details(id, endpointUrl)

Returns one directory listing in full: its id, name, endpoint_url, category, link_type, current_sla_score, any verified USDC rank stake, and a summary of its signed check history (number of checks, pass rate, latest check with latency). Use it after discover_monitored_apis to judge a candidate, or to find the listing id that create_escrow_job needs. Free and read-only; it does not probe the endpoint (use check_endpoint for a live check). Give either id or endpointUrl.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1,
      "description": "Listing id from discover_monitored_apis, e.g. 29002."
    },
    "endpointUrl": {
      "type": "string",
      "format": "uri",
      "description": "The listing's exact endpoint_url, e.g. \"https://api.openai.com\". Used when id is omitted."
    }
  },
  "additionalProperties": false
}
🟢check_endpoint(endpointUrl, maxLatencyMs, walletAddress, walletSignedAt, walletSignature)

Probes any HTTP(S) URL once, right now, from Cloudflare's edge and reports httpStatus, edgeLatencyMs and meetsSla (true when the status is 2xx/3xx within maxLatencyMs, or when an x402 API answers 402 with a valid payment request, whose offer is then reported; an endpoint that answers GET with 405 is retried as a JSON-RPC POST). Use it before calling or paying an unfamiliar endpoint. Free and unsigned, up to 10 checks per month per IP (access shows what's left); a walletAddress with an active pass removes the limit. Sends one request to the target. For a result a third party can verify, use verify_endpoint_sla instead. The result includes a SHA-256 probeHash (a content hash, not a signature).

Input Schema

{
  "type": "object",
  "properties": {
    "endpointUrl": {
      "type": "string",
      "format": "uri",
      "description": "Full http(s) URL to probe, e.g. \"https://api.example.com/health\"."
    },
    "maxLatencyMs": {
      "type": "integer",
      "minimum": 50,
      "maximum": 30000,
      "default": 1000,
      "description": "Latency limit in milliseconds for meetsSla."
    },
    "walletAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Optional Base wallet holding an active 7-day pass: removes the monthly free-check limit (with walletSignedAt + walletSignature)."
    },
    "walletSignedAt": {
      "type": "integer",
      "description": "Unix seconds when walletSignature was made (within the last 5 minutes)."
    },
    "walletSignature": {
      "type": "string",
      "description": "personal_sign by walletAddress of \"AgentSLA pass access\\nWallet: <checksummed walletAddress>\\nSigned at: <walletSignedAt>\". Proves you control the pass wallet; no gas."
    }
  },
  "required": [
    "endpointUrl"
  ],
  "additionalProperties": false
}
🟢verify_endpoint_sla(endpointUrl, walletAddress, walletSignedAt, walletSignature, maxLatencyMs)

Probes an endpoint (best of up to 3 tries) and returns an EIP-712 SLAAttestation signed by the AgentSLA oracle: httpStatus, latencyMs, slaMet, eip712Signature and oracleSigner, verifiable with ethers.verifyTypedData (domain and types: GET https://agentsla.io/v1/attestations). Use it when another party must be able to verify the result; for a quick free look use check_endpoint. Requires walletAddress to hold an active 7-day pass (5 USDC): check_pass shows it, buy_pass sells it. Without a pass it returns an error result explaining how to pay; nothing is charged. A listed endpoint's result is also added to its public check history.

Input Schema

{
  "type": "object",
  "properties": {
    "endpointUrl": {
      "type": "string",
      "format": "uri",
      "description": "Full http(s) URL to probe, e.g. \"https://api.example.com/health\"."
    },
    "walletAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Base Mainnet wallet holding an active pass, e.g. \"0x1234...abcd\" (40 hex characters after 0x)."
    },
    "walletSignedAt": {
      "type": "integer",
      "description": "Unix seconds when walletSignature was made (within the last 5 minutes)."
    },
    "walletSignature": {
      "type": "string",
      "description": "personal_sign by walletAddress of \"AgentSLA pass access\\nWallet: <checksummed walletAddress>\\nSigned at: <walletSignedAt>\". Proves you control the pass wallet; no gas."
    },
    "maxLatencyMs": {
      "type": "integer",
      "minimum": 50,
      "maximum": 30000,
      "default": 1000,
      "description": "Latency limit in milliseconds for slaMet."
    }
  },
  "required": [
    "endpointUrl",
    "walletAddress"
  ],
  "additionalProperties": false
}
🟢check_pass(walletAddress)

Reads from Base Mainnet whether a wallet holds an active 7-day pass (needed by verify_endpoint_sla), its expiry (validUntil, secondsLeft), the price (5 USDC), and the wallet's USDC balance and existing allowance to the escrow contract. Use it before verify_endpoint_sla, and after buy_pass's transactions confirm. Free and read-only.

Input Schema

{
  "type": "object",
  "properties": {
    "walletAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Base Mainnet wallet to check, e.g. \"0x1234...abcd\"."
    }
  },
  "required": [
    "walletAddress"
  ],
  "additionalProperties": false
}
🟢buy_pass(walletAddress)

Explains how to buy a 7-day pass (5 USDC) for a wallet. Recommended: x402 at POST https://agentsla.io/v1/pass (one USDC signature, no gas, no approval). Alternative: the returned unsigned Base Mainnet transactions (a USDC approve, only if its allowance is below 5 USDC, then paySubscription() on the escrow contract). Use it when check_pass shows no active pass. Calling it is free and changes nothing: the wallet signs and sends the returned transactions itself (gas in ETH on Base); AgentSLA holds no keys and moves no funds. Buying while a pass is active extends it by 7 days from its current expiry. Returns the ordered transactions (to, data, value, chainId) and warnings such as an insufficient USDC balance.

Input Schema

{
  "type": "object",
  "properties": {
    "walletAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Base Mainnet wallet that will sign, pay for and own the pass, e.g. \"0x1234...abcd\"."
    }
  },
  "required": [
    "walletAddress"
  ],
  "additionalProperties": false
}
🟢create_escrow_job(walletAddress, apiId, providerAddress, priceUsdc)

Builds the unsigned Base Mainnet transactions that lock USDC in escrow for one directory listing: the provider gets the price if the oracle finds the endpoint meets your latency limit; otherwise you get the price plus the 2% fee back. Use it to pay a provider conditionally; to check without paying, use check_endpoint. A wallet the endpoint vouches for (x402 payTo, /.well-known/agentsla.json or a _agentsla TXT record) is always paid; an unverified wallet (providerVerified false) is paid while its payouts stay within 1,000 USDC per 30 days, and beyond that the payout waits at the job's claim link and is refunded to you after 6 days. Calling it changes nothing: your wallet signs a USDC approve (if needed) and createJob, then you call register_escrow_terms with the createJob hash. Returns the transactions, the total to approve and the listing.

Input Schema

{
  "type": "object",
  "properties": {
    "walletAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Payer wallet on Base Mainnet that signs and funds the job."
    },
    "apiId": {
      "type": "integer",
      "minimum": 1,
      "description": "Listing id of the endpoint being paid for (from discover_monitored_apis or get_api_details), e.g. 29002."
    },
    "providerAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Wallet that receives the price if the SLA is met. Always paid if the endpoint vouches for it (x402 payTo, /.well-known/agentsla.json {\"payoutAddresses\":[\"0x...\"]} or a TXT record at _agentsla.<domain>: agentsla-payout=0x...); otherwise paid within 1,000 USDC per 30 days and held beyond that until it does."
    },
    "priceUsdc": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100000,
      "description": "Price in USDC, e.g. 1.5. The payer approves price + 2%."
    }
  },
  "required": [
    "walletAddress",
    "apiId",
    "providerAddress",
    "priceUsdc"
  ],
  "additionalProperties": false
}
🟡register_escrow_terms(txHash, maxLatencyMs)

Records the latency limit for an escrow job after its createJob transaction confirms, so the oracle knows the SLA to judge. Use it once per job, right after the create_escrow_job transactions. The job is read from the transaction on Base; only its creator's transaction is accepted, and the first registration is kept (calling again does not change it). Writes the terms to AgentSLA's database; moves no funds. Returns jobId and the registered maxLatencyMs. The oracle then settles the job automatically within about 20 minutes (see get_escrow_job).

Input Schema

{
  "type": "object",
  "properties": {
    "txHash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$",
      "description": "Hash of the confirmed createJob transaction, 0x + 64 hex characters."
    },
    "maxLatencyMs": {
      "type": "integer",
      "minimum": 50,
      "maximum": 30000,
      "description": "The SLA: the endpoint must answer 2xx/3xx within this many milliseconds, e.g. 1000."
    }
  },
  "required": [
    "txHash",
    "maxLatencyMs"
  ],
  "additionalProperties": false
}
🟢get_escrow_job(jobId)

Reads one escrow job from Base Mainnet and AgentSLA's records: status (active, settled or reclaimed), creator, provider, listing and endpoint, price, fee, registered latency limit, created time, and when the creator may reclaim it if the oracle has not settled it. Use it after register_escrow_terms to follow a job to completion. Free and read-only.

Input Schema

{
  "type": "object",
  "properties": {
    "jobId": {
      "type": "integer",
      "minimum": 1,
      "description": "Escrow job id, returned by register_escrow_terms, e.g. 2."
    }
  },
  "required": [
    "jobId"
  ],
  "additionalProperties": false
}
🟢get_usdc_escrow_contract

Returns the reference data for AgentSLA's escrow contract on Base Mainnet: contract and USDC token addresses, chain id, the pass price and period, the 2% escrow fee, the 7-day reclaim timeout, the human-readable ABI of the functions agents call, and a Basescan link. Use it to verify the addresses that buy_pass and create_escrow_job put in their transactions. Free, read-only, static.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded10 tools