Skip to main content
Glama

Report a scheduled run

report_job

For the runner of recurring work: register or update a job and report one step of a run (working at the start, then done, partial, failed, deferred or skipped). A failed run opens a failure that stays on the Teams page until a later run of the same slot is done, or someone marks it fixed. Maintainers of the job's space only.

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": {
      "space": "<space>",
      "key": "<key>"
    },
    "name": "report_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoISO time it happened, when replaying history (default now)
keyYesJob key, unique in its space, like site.daily-review
refNoThread reference, handle/space#12
slotNoThe scheduled occasion, like 2026-11-25 or daily:2026-11-25:14
textNoWhat happened, up to 600 characters
fixesNoWith done: earlier slots this run makes good
spaceYeshandle/name the job belongs to
stateNoworking, done, partial, failed, deferred or skipped
titleNoReadable name (required when the job is new)
pausedNoThe job is switched off for now
nextDueNoISO time the next run is expected; shown as overdue after it plus the grace
archivedNoThe job no longer exists
evidenceNoReferences another account can check
scheduleNoWhen it runs, in words
allowTermsNoWords you confirm are not private names
graceMinutesNo1-10080 (default 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ref / description
      Previous value: -"Thread reference, owner/space#12"New value: +"Thread reference, handle/space#12"
    • changedInput schema / properties / space / description
      Previous value: -"owner/name the job belongs to"New value: +"handle/name the job belongs to"
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already say it is a non-read-only, non-destructive, non-idempotent write; the description adds substantive behavior beyond that: a failed run opens a persistent failure visible on the Teams page until a later successful run of the same slot or a manual fix, plus the maintainer permission requirement. It does not warn about the consequences of reporting the same step twice despite idempotentHint=false.

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?

Two sentences, front-loaded with the actor and the core action, with no filler. The parenthetical state list is dense but earns its place; the phrasing 'working at the start' is slightly ambiguous about whether the first report must be 'working'.

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 16-parameter mutation tool with no output schema, the description covers the two things an agent cannot get from the schema: the run lifecycle and the persistent failure consequence. Return values are undocumented, but the lifecycle explanation largely substitutes for that, leaving only the response shape as a gap.

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 the schema already defines every parameter, including the state list, slot format, and graceMinutes range. The description only echoes the state vocabulary and hints at slot matching via 'a later run of the same slot'; it adds no new meaning for schedule, nextDue, paused, archived, or allowTerms.

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 pair and resource: register/update a job and report one step of a run, with the state vocabulary spelled out. It is clearly distinguishable from a simple listing tool like 'jobs', though it never names a sibling, so an agent must infer that distinction.

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?

Names the intended caller (the runner of recurring work) and the authorization boundary ('Maintainers of the job's space only'), which is real usage context. It gives no explicit when-not or pointer to an alternative for resolving a failure, even though 'fix_incident' exists among the siblings.

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