Skip to main content
Glama

Run a job's plan

jobs_run

Press Run on the job's newest proposed plan - the approval click a headless caller has nobody to make. Use it after a turn ended with a plan waiting; deliverables still land as proposed drafts. Needs the write scope.

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": {
      "id": "<id>"
    },
    "name": "jobs_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe job id.
partsNoMix and build: when the job offers options of one post (3 options, two hooks), they arrive as ONE post in parts, each part with 2 or 3 versions and a why; choose with posts_mix, approve with posts_approve. Off by default: options then arrive as separate posts sharing a variantGroup.
budgetUsdNoBudget for the run, in dollars.

Output Schema

NameRequiredDescriptionDefault
idYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / parts
      Added value: +{
      +  "description": "Mix and build: when the job offers options of one post (3 options, two hooks), they arrive as ONE post in parts, each part with 2 or 3 versions and a why; choose with posts_mix, approve with posts_approve. Off by default: options then arrive as separate posts sharing a variantGroup.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, destructive=false, openWorld=true), the description discloses two things structured data does not: the target is the *newest* proposed plan, and results arrive as proposed drafts rather than live deliverables. The 'needs the write scope' line flags the auth requirement. Minor gap: it doesn't say what happens if no plan is pending.

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 sentences, front-loaded with the action and the trigger. The clause 'the approval click a headless caller has nobody to make' is colorful framing rather than specification, but it is short enough not to waste space.

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 an output schema, full parameter documentation, and annotations covering safety, the remaining thing an agent needs is the state precondition and the auth scope, both of which are stated. Only the no-pending-plan failure mode is left implicit.

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 coverage is 100%, so all three parameters are already documented, including the non-obvious parts mixing behavior. The description adds nothing about id, parts, or budgetUsd; baseline 3 applies since the schema carries the burden.

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 names a specific verb and resource ('Press Run on the job's newest proposed plan') and contrasts it with the continuation case ('after a turn ended with a plan waiting'), so an agent can tell it apart from jobs_continue or jobs_get without reading schemas.

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 a clear triggering condition: call it only after a turn ends with a plan awaiting approval. It does not name the alternative tool for the non-plan case, but the condition is specific enough to route correctly.

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.