Skip to main content
Glama

Actora Tenant — Hosted Chat, Tasks & Usage

Create Background Task

actora_gateway_create_task

Create a background task in a session (returns immediately with taskId; queued→running→done). May return 403 PARALLEL_TASKS_DISABLED. Requires access_token (registered-user JWT).

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": {
      "session_id": "<session_id>",
      "message": "<message>"
    },
    "name": "actora_gateway_create_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoInline mode: caller-supplied system prompt
messageYesTask instruction
agent_idNoAgent ID (omit when using inline prompt)
session_idYesSession ID (from actora_gateway_create_session)
access_tokenNoGateway JWT — registered-user auth (required)
tenant_key_idNoBYOK: id of a stored tenant-owned API key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes well beyond that by disclosing the asynchronous lifecycle (queued→running→done), the immediate taskId return, a specific failure mode (403 PARALLEL_TASKS_DISABLED), and the JWT auth requirement. It stops short of describing what happens to a task on failure or how results are retrieved.

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?

Three tight parenthetical clauses, front-loaded with the action and return behavior, with no filler. It is telegraphic to the point of reading like notes rather than prose, but every clause carries information.

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?

For a 6-parameter mutation tool with no output schema, the description covers the async contract, the returned taskId, and a salient error code, which is what an agent needs before invoking it. Minor gaps are polling guidance (use actora_gateway_get_task) and the inline-vs-agent_id tradeoff, both largely recoverable from the schema.

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 mode selection (prompt vs agent_id) and tenant_key_id BYOK semantics are already documented in the schema. The description only restates that access_token is a required registered-user JWT, which the schema already says, so it adds little meaning over the structured fields.

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 specific verb and resource ('Create a background task in a session') and adds the key characteristic that it returns immediately with a taskId. It does not explicitly name the synchronous sibling (actora_gateway_chat) that an agent would otherwise confuse it with, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'returns immediately; queued→running→done' phrasing implies when this async tool is preferable to a blocking chat call, but that contrast is never made explicit and no alternative is named. The 403 PARALLEL_TASKS_DISABLED note is a useful precondition, not a when-to-use rule.

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.