Skip to main content
Glama
watsonx Platform MCP Server

watsonx Platform MCP Server

by manjotsidhu

update_job

Idempotent

Update an existing watsonx job's name, configuration, or schedule via JSON Patch; verify schedule edits with a follow-up GET because they are experimental.

Instructions

EXPERIMENTAL for schedule edits — Phase 3 (spec/02-tools.md).

The JSON-Patch (RFC 6902) body format is confirmed live: PATCH /v2/jobs/{id} rejects a flat object and requires an array. BUT two separate live attempts to change an existing job's schedule via this PATCH (tried both /job/schedule and /schedule as the path) returned 200 without visibly changing the stored schedule value on a follow-up GET. Treat schedule edits made through this tool as unverified — name/ configuration edits use the same confirmed format but weren't the specific field that failed to change, so they're more likely to work.

Input Schema

NameRequiredDescriptionDefault
nameNo
job_idYes
scheduleNoPlain cron string.
project_idYes
configurationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior4/5

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

Given only idempotentHint=true in annotations, the description carries real weight: it discloses the RFC 6902 array body requirement (flat objects are rejected), and — most valuably — that schedule PATCHes return 200 while silently failing to persist, a failure mode an agent could not otherwise know. Minor deductions for the internal spec-file reference and the unaddressed question of whether omitting an optional field clears or preserves it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It opens with an internal status banner ('EXPERIMENTAL for schedule edits — Phase 3 (spec/02-tools.md)') rather than the tool's function, and spends sentences narrating the author's debugging history ('two separate live attempts... tried both /job/schedule and /schedule'). The actionable content is buried mid-paragraph.

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

Completeness3/5

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

For a 5-parameter mutation tool with no output schema and 20% schema coverage, the definition covers the most dangerous behavior but omits basic update semantics (partial vs. full replacement, effect of null fields) and any statement of what a successful response looks like.

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 only 20% (just 'Plain cron string' on schedule), so the description should compensate more than it does; it names the three editable fields but says nothing about configuration's allowed contents or whether null means 'leave unchanged' versus 'clear'. It adds a little mapping value over the bare schema but leaves the highest-risk ambiguity unresolved.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states plainly that this tool updates an existing job's name, schedule, or configuration; the purpose must be inferred from asides like 'schedule edits made through this tool' and 'name/configuration edits use the same confirmed format.' It also does no work to distinguish itself from siblings such as create_job, delete_job, or get_job.

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

Usage Guidelines2/5

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

There is a useful caution (schedule edits are unverified, prefer name/configuration edits), but no when-to-use framing, no routing to alternatives, and no prerequisites or permission notes. The agent is told the tool is risky without being told when to reach for it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.