Skip to main content
Glama

Dreamina MCP Server by useapi.net (third-party)

Cancel a running job

dreamina_cancel_job
DestructiveIdempotent

Stop tracking a running image or video job (from dreamina_list_running_jobs) and free its slot on the account; a job still in created status is marked failed with "Cancelled by user". Dreamina may still finish it, and credits already spent are not refunded. Cannot be undone. DELETE /scheduler/{jobid}.

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": {
      "jobid": "<jobid>"
    },
    "name": "dreamina_cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobidYesThe jobid of a running job.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, and the description adds real behavioral context on top: a job still in 'created' status is marked failed with 'Cancelled by user', the remote job may still complete anyway, credits already spent are not refunded, and the action cannot be undone. That is exactly the side-effect disclosure an agent needs before a destructive call.

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?

One dense sentence: the core action comes first, then consequences, then irreversibility, with the underlying DELETE endpoint as a trailing technical note. No filler, and nothing important is buried.

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?

There is no output schema, so the return-side burden falls on the description, and it covers the meaningful outcome (marked failed, slot freed, job may still finish, no refund). Combined with the destructive/idempotent annotations, an agent has everything needed to decide and call 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% for the single jobid parameter, so the schema already defines the type and meaning. The description adds value by sourcing the jobid to dreamina_list_running_jobs and constraining it to a running job, which goes slightly beyond the schema's generic 'The jobid of a running job' text.

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?

Specific verb and resource ('Stop tracking a running image or video job'), scoped to both image and video jobs, with the crucial nuance that the actual Dreamina job may continue. It also names the sibling tool that produces the jobid, so an agent can distinguish this from creation/listing tools without opening the schema.

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?

The description tells the agent where jobids come from (dreamina_list_running_jobs) and under what condition the call is meaningful (a running job). It does not explicitly state when *not* to use it, e.g. 'if you want the output, wait instead of cancelling', so usage guidance is clear but not fully exhaustive.

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