Skip to main content
Glama

get_shelf_refresh_job

Retrieve persistent status for a shelf refresh job by ID, or for the current job when no ID is provided, to track refresh progress and outcomes.

Instructions

Read persistent state for the latest or selected shelf refresh job.

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": "get_shelf_refresh_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. 'Read persistent state' implies a safe, non-mutating operation and that state survives beyond the call, but nothing is said about behavior with an unknown job_id, job expiry/retention, or concurrency concerns.

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?

A single efficient sentence with the resource front-loaded and zero filler. It is terse to the point where a little more content (polling/lifecycle) would have earned space, but nothing present is wasted.

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?

An output schema exists, so return-value explanation is not needed, and a one-optional-parameter getter is simple. Still, the relationship to start_shelf_refresh and the meaning of a job's lifecycle are unstated, leaving the agent to infer the workflow.

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 0% for the single optional job_id parameter, so the description must compensate. 'Latest or selected' does add real meaning — omitting job_id returns the newest job — but it does not clarify format, validity, or error behavior for an unknown id.

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 uses a specific verb ('Read') on a specific resource ('persistent state ... shelf refresh job'), which cleanly separates it from the sibling 'start_shelf_refresh' that initiates a job. It stops short of naming that sibling explicitly, but the read-versus-start distinction is inferable from the text alone.

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

Usage Guidelines3/5

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

The phrase 'latest or selected' implicitly tells the agent it can call this without a job_id to get the newest job, but there is no explicit when-to-use guidance, no mention of calling it after start_shelf_refresh to poll progress, and no named alternative.

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

Deploy Server

Other Tools