Skip to main content
Glama

List Jobs

list_jobs
Read-onlyIdempotent

List recent jobs for the workspace, newest first. Use this to find a job whose ID you don't have, or to check whether anything is still running before starting more work.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
typeNoOnly jobs of this kind
limitNoJobs per page (default 20, max 100)
statusNoOnly jobs in this state

Output Schema

NameRequiredDescriptionDefault
jobsNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the newest-first ordering and workspace scoping, which are genuinely beyond the annotations, but says nothing about how far back "recent" reaches or how paging behaves over a mutating job list.

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?

Two sentences, zero filler, with the operation and its ordering stated first and the usage guidance second. Nothing is redundant with the title or annotations.

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 present, return values need no explanation, and annotations cover safety; the description only needs purpose, ordering and when-to-use, which it supplies. The one residual gap is the undefined "recent" window, which affects whether an agent trusts this list as exhaustive.

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%, with both enums (type, status) and the page/limit defaults documented inline. The description adds no meaning beyond that — it never mentions filtering by status or type, so the baseline 3 applies.

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?

Specific verb+resource ("List recent jobs") plus scope ("for the workspace") and an ordering guarantee ("newest first"). It's unmistakable against the sibling list_* tools since none of them deal with jobs, though the word "recent" leaves the time window undefined.

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?

Provides two concrete use cases: discovering a job ID you don't have, and checking the running state before queueing more work. It implicitly contrasts with a direct-fetch path ("whose ID you don't have") but never names a specific alternative tool or states when not to use this one.

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