Skip to main content
Glama

Generate text on the GPU

submit_chat_job
Idempotent

Queue a free text task: draft, summarize, extract, translate text, reason or assist with code. No code is executed. Provide user/assistant messages, explicit consent for nonconfidential permitted content, and a stable idempotency key. Returns immediately with a job ID. Poll get_studio_job. Uses the configured local model, no external AI fallback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
consentYesConfirm permission to process this nonconfidential content.
messagesYesAt most 12,000 characters in total. End with a user message. Include previous messages for follow-up context.
access_tokenNoPrivate token from create_trial_access; optional with Bearer authentication.
idempotency_keyYes

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 cover idempotency and non-destructiveness, but the description adds substantial context: asynchronous return with a job ID, the need to poll get_studio_job, local-model-only operation with no external AI fallback, and the consent requirement for nonconfidential content. This goes well beyond what the annotations state.

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?

The description is front-loaded with purpose and task types, then proceeds through required inputs, return behavior, and polling instructions. Every sentence carries actionable information with no redundant restatement of the schema.

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 an asynchronous job submission tool with no output schema, the description covers what the agent must know: the immediate return is a job ID, subsequent polling uses get_studio_job, and the local-model/no-fallback constraint is disclosed. Combined with the schema details for messages and limits, nothing material is missing.

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 75%, so the schema already documents most parameters. The description adds useful semantics beyond the schema: consent is specifically for 'nonconfidential permitted content' and the idempotency key should be 'stable' for retry safety. The access_token parameter is not mentioned in the description, leaving one gap.

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 states a specific action ('queue a free text task') and enumerates the task types (draft, summarize, extract, translate, reason, code assistance). It distinguishes itself from the compute/image siblings through 'free text' and 'No code is executed', making the resource and scope unambiguous.

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 task list gives clear context for when this tool applies, and it explicitly routes the agent to get_studio_job for polling. The implicit exclusion of actual code execution ('No code is executed') helps, but it does not name submit_compute_job or submit_image_job as alternatives for those cases, leaving some inference to the agent.

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