Skip to main content
Glama

Giky API

Create a paid generation task

create_task
Destructive

Create an image, video, music, or audio generation task. This action can spend account balance. First call get_model, show the user the selected model and published price, and obtain explicit confirmation. Set confirm_charge=true only after that confirmation. Reuse the same idempotency_key and identical body after an uncertain response.

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": {
      "model": "<model>",
      "operation": "<operation>",
      "input": "<input>",
      "idempotency_key": "<idempotency_key>",
      "confirm_charge": "<confirm_charge>"
    },
    "name": "create_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
modelYes
operationYes
confirm_chargeYes
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the safety profile is partly covered; the description adds valuable specifics — that the call spends account balance and that charging is gated on user confirmation. However, it does not state what happens to an already-created task on a duplicate submission, whether failures still cost balance, or any rate/credit limits, so it goes beyond annotations without fully characterizing the side effects.

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?

Four short sentences with the costly side effect mentioned early and the confirmation/idempotency rules following in logical order; nothing is redundant. Minor cost: the flow instructions read as a runbook rather than being split into clearly scannable prerequisites.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the billing/confirmation/idempotency behavior is covered for a destructive, chargeable mutation. The remaining gap is guidance on valid operation values and the expected shape of the nested input object, which an agent cannot derive from the schema alone.

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 0% across 5 required parameters, so the description must compensate. It meaningfully explains confirm_charge (set true only after user confirmation) and idempotency_key (reuse with an identical body on retry, matching the pattern constraint), but says nothing about the semantics of model, operation, or the nested input object.

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?

The description opens with a specific verb and resource ('Create an ... generation task') and enumerates the supported modalities (image, video, music, audio). This is clearly separable from siblings like get_model, get_task, cancel_task, and list_tasks.

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?

It prescribes an explicit ordered prerequisite: call get_model, surface the model and published price to the user, obtain explicit confirmation, and only then set confirm_charge=true. It also gives a retry rule (reuse the same idempotency_key and identical body after an uncertain response), leaving little to inference.

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