Skip to main content
Glama

Submit a durable job

hydracept_submit_job
Destructive

Start a capability job and return its id immediately (paid). Use when execution is required but this MCP call must not block — not for quotes or status checks. Prefer hydracept_run when waiting is acceptable. Poll with hydracept_job_status. Same billing as hydracept_run. Requires bearer key. Returns: Job admission envelope with jobId and nextAction poll. Errors: WORKSPACE_KEY_REQUIRED, INVALID_ARGUMENT, FundingRequired, EXECUTION_FAILED.

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": {
      "capability_key": "<capability_key>"
    },
    "name": "hydracept_submit_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoCapability input object; merged with session project context when bound.
inputNoAlias for body.
capability_keyYesRequired capability registry key.
idempotency_keyNoOptional string; server generates job-{uuid} when empty.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Capability input object; merged with session project context when bound."
    • addedInput schema / properties / capability_key / description
      Added value: +"Required capability registry key."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Optional string; server generates job-{uuid} when empty."
    • addedInput schema / properties / input / description
      Added value: +"Alias for body."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing billing ('paid', 'Same billing as hydracept_run'), the auth requirement ('Requires bearer key'), the non-blocking admission semantics, and concrete error codes including WORKSPACE_KEY_REQUIRED and FundingRequired. The annotations declare mutability and openness, but only the description tells the agent this consumes paid credits and can fail on funding.

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?

Front-loads the core action and its defining constraint, then layers usage, alternative, follow-up, billing, auth, and errors without redundant restatement. Slightly telegraphic in the trailing error/return clause, but nearly every sentence carries distinct decision-relevant information.

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?

For a paid, non-blocking mutation with an output schema, the description covers the essentials an agent needs: admission model, paid billing, bearer auth, polling next step, and failure modes. Return value detail is summarized rather than duplicated, which is appropriate given the output schema exists.

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 all four parameters including body/input aliasing and the server-generated idempotency key are already documented in the schema. The description adds no additional per-parameter meaning such as body shape expectations or when to supply an idempotency_key, leaving this at the baseline for a fully documented schema.

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?

States a specific verb and resource ('Start a capability job') plus the key behavioral trait ('return its id immediately (paid)'), and explicitly distinguishes itself from sibling operations for quotes and status checks. An agent can tell this apart from hydracept_run and hydracept_quote_capability without opening any schema.

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?

Gives explicit when-to-use ('execution is required but this MCP call must not block'), explicit when-not ('not for quotes or status checks'), and a named alternative with its selecting condition ('Prefer hydracept_run when waiting is acceptable'). It also routes the follow-up step to hydracept_job_status, closing the workflow loop.

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.