Skip to main content
Glama

Delegate a task with approved tools

submit_agent_job
Idempotent

Experimental local worker agent. Version 1 reads supplied documents. Set agent_task.version=2 for decimal calculations, CSV preview/filter/numeric sort/summary/group sums, and TXT/Markdown/CSV/JSON files using approved local CPU/RAM functions. Check services.agent_tools for version 2. Up to eight tool calls, eight optional documents, 24000 input characters and three files (16000 bytes each, 24000 bytes total). Set required_artifacts to exact filenames to require delivery. Version 3 requires services.agent_web and adds public HTTPS page reading and web search, with source URLs. No JavaScript browsing, logins, VM, arbitrary code or shell. Search availability and website access can vary. File contents are returned in result.agent_result.artifacts. Quotes are matched; tool outputs and factual correctness are not independently verified. Shared trial quotas. Poll get_studio_job.

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": {
      "agent_task": "<agent_task>",
      "consent": "<consent>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "submit_agent_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
consentYes
agent_taskYes
access_tokenNo
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agent_task / properties / version / enum
      Previous value: -[
      -  1,
      -  2
      -]New value: +[
      +  1,
      +  2,
      +  3
      +]
  2. Changed4 schema fields changed
    • changedInput schema / properties / agent_task / properties / documents / minItems
      Previous value: -1New value: +0
    • addedInput schema / properties / agent_task / properties / required_artifacts
      Added value: +{
      +  "items": {
      +    "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,60}\\.(txt|md|csv|json)$",
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / agent_task / properties / version
      Added value: +{
      +  "enum": [
      +    1,
      +    2
      +  ],
      +  "type": "integer"
      +}
    • changedInput schema / properties / agent_task / required
      Previous value: -[
      -  "objective",
      -  "documents"
      -]New value: +[
      +  "objective"
      +]
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds substantial context beyond them: hard limits (8 tool calls, 8 documents, 24000 chars, 3 files at 16000/24000 bytes), shared trial quotas, no arbitrary code/shell/VM/logins, variable search availability, and the explicit caveat that quotes are matched but factual correctness is not verified. It also discloses where artifacts land (result.agent_result.artifacts) and that required_artifacts enforces delivery by exact filename.

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?

The lead sentence establishes what the tool is and the limits follow, with no filler sentences; every statement carries operational information. The prose is dense and telegraphic ('Quotes are matched; tool outputs and factual correctness are not independently verified') and version-specific clauses are interleaved, which makes it harder to scan than an ideally structured definition.

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?

With no output schema, the description does the necessary work of saying outputs appear in result.agent_result.artifacts and that get_studio_job must be polled for status. It covers prerequisites, quotas, and safety boundaries. Remaining gaps are the undocumented consent/idempotency_key/access_token semantics, which are largely conventional.

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%, so the description must carry parameter meaning, and it partially does: version enum values are mapped to concrete capabilities, documents count/size limits are spelled out, and required_artifacts is explained as exact filenames to require delivery. However, consent, idempotency_key, and access_token are never mentioned, leaving three of four parameters to be inferred from the raw schema.

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?

The description states a specific resource and action: a local worker agent that reads supplied documents and produces artifacts, submitted as a job. It distinguishes capability tiers (v1 document reading, v2 CPU/RAM functions and file formats, v3 web read/search), so an agent knows what class of work this handles. It never contrasts itself with siblings like submit_chat_job or submit_compute_job, so differentiation is only implicit through 'local worker agent'.

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?

It gives conditional usage guidance: set version=2 for decimal/file work, version=3 requires services.agent_web, and check services.agent_tools for v2 availability. It also tells the agent to poll get_studio_job after submitting. There is no explicit when-not or 'use X sibling instead' routing, which keeps it out of the top band.

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