Skip to main content
Glama

cloud_deploy_processor

Deploy a Processor (managed lane) from a manifest and ES module code. Deploying is free; each run holds a small amount of your Cloud credits. Needs a key with the "spend" permission. max_usd caps what one run may hold.

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": {
      "computeApiKey": "<computeApiKey>",
      "manifest": "<manifest>",
      "code": "<code>",
      "max_usd": "<max_usd>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "cloud_deploy_processor"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesES module source for the managed lane
max_usdYesThe most one run may hold from your credits, in US dollars
manifestYesProcessor manifest (slug, name, description, lane "managed", price_usd, limits, payout)
computeApiKeyYesSingularity Cloud API key with the "spend" permission (cloud.x402compute.cc > Settings > API keys).
idempotency_keyYesA new unique id per purchase (8 to 128 letters, digits, . _ : -). Repeating a purchase with the SAME id never charges twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load, and it does disclose the two highest-risk traits of a wallet-touching write: the deployment itself is free while each run reserves credits, and the API key must hold the "spend" permission. Gaps remain around irreversibility, what happens on redeploy of an existing slug, and failure/partial-deploy behavior; the max_usd sentence largely restates the schema.

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?

Three short sentences, zero filler, with the operation and its billing/permission implications front-loaded. Every sentence carries information an agent needs before calling.

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

Completeness3/5

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

For a money-spending mutation tool with no annotations and no output schema, the description omits lifecycle and result information: whether redeploying an existing slug replaces it, what identifier a success returns, and how failures are surfaced. The cost and auth prerequisites are covered, but the completeness bar for a 5-parameter nested-object write is not met.

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 description coverage is 100%, so the parameters are already well documented, and the description adds essentially nothing beyond repackaging 'max_usd caps what one run may hold' and the spend-permission requirement. Manifest and code inputs get no extra meaning in prose, so baseline 3 applies.

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?

States a concrete verb and resource: "Deploy a Processor (managed lane) from a manifest and ES module code." The 'Processor' resource plus the manifest/code inputs distinguish it from the sibling deploy tools for machines and pods, though it never explicitly contrasts with them.

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?

Gives real selection context: deploying is free, runs draw Cloud credits, and the caller needs a key with the "spend" permission. That tells an agent the prerequisites and cost implications before calling, but there is no explicit statement of when to prefer this over cloud_deploy_machine or cloud_deploy_pod.

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.

Resources