Agent Revenue Optimizer
agent-revenue-optimizerAudit an x402-gated endpoint by probing its 402 envelope, agent-card.json, well-known surfaces, and response headers. Returns a closed-vocabulary verdict plus 3-7 scored recommendations across pricing, bundling, discoverability, envelope correctness, rate limiting, tier expansion, facilitator choice, and schema clarity. Each recommendation cites the observed current-state value as evidence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoint_url": "<endpoint_url>"
},
"name": "agent-revenue-optimizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_url | Yes | Public HTTP(S) URL of the x402-gated endpoint to audit. Must respond with an HTTP 402 envelope on an unauthenticated GET (or POST). Example: https://x402.org or any /api/tools/<slug> on a deployed x402 service. | |
| assumed_monthly_paid_calls | No | Optional estimate of how many paid calls per month the endpoint currently receives. Used to scale recommendation impact_usd_per_month from a per-call delta to a monthly figure. Defaults to 1000 if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verdict | Yes | ||
| evidence | Yes | ||
| probed_at | Yes | ||
| endpoint_url | Yes | ||
| current_state | Yes | ||
| next_check_at | No | ISO 8601 timestamp suggesting when the caller should re-invoke this tool. Derived from the tool's recurringHint.intervalSeconds. | |
| recommendations | Yes | ||
| expected_lift_usd_per_month | Yes |