Skip to main content
Glama
shiftyasan

Shiftyasan MCP Server

by shiftyasan

Poll an asynchronous solve job

get_solve_job

Poll an asynchronous shift-solving job for its status. Get the solution when completed or an error code when failed.

Instructions

Check the status of an asynchronous solve job created by solve_shift (202 response with job_id). Free of charge. status "running" means the solver is still working — wait ~15 seconds and call again (large problems typically finish within 2–7 minutes). "completed" includes the solution and usage; "failed" includes error.code (e.g. no_solution).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesThe job_id returned by solve_shift (202 async response).
Behavior4/5

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

With no annotations provided, the description bears full responsibility and does well: it explains the meaning of each status ('running', 'completed', 'failed'), what completed includes (solution and usage), and that failed includes error.code. It also mentions being free of charge, which is helpful context.

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?

The description is three sentences, front-loaded with the purpose, followed by practical status details. Every sentence earns its place—no filler or redundancy.

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 simple polling tool, the description covers the key behavioral aspects: when to poll, what statuses mean, and expected output content. It lacks details on invalid job_id or authentication, but given the simplicity and lack of output schema, it is reasonably complete.

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?

The schema already fully describes job_id (100% coverage), including that it comes from the 202 async response of solve_shift. The description adds no additional parameter semantics beyond restating this, so the baseline of 3 is appropriate.

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 clearly states the tool checks the status of an asynchronous solve job created by solve_shift, using a specific verb (check) and resource (job). It also references the sibling tool solve_shift, distinguishing it from validate_shift_input and solve_shift.

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 provides clear context: this is the polling tool for async jobs from solve_shift, and explicitly advises waiting ~15 seconds and calling again while status is running. It implies the tool should be used after receiving a 202 response, though it doesn't state explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shiftyasan/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server