Skip to main content
Glama
dna-seq
by dna-seq

PRS job status

prs_job_status
Read-onlyIdempotent

Check the status of a running PRS scoring or download job by job ID, optionally waiting for completion, and retrieve the result when finished.

Instructions

Poll a long scoring/download job started by this server.

compute_prs_by_trait, compute_prs_batch, normalize_vcf, and download_sample_genome return a PRSJob instead of blocking. Call this with that job_id. wait_seconds=25 waits inside one call (safe for Cursor) and returns as soon as the job finishes. When status is done, read html_link and result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
wait_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYesTool that created the job.
errorNoFailure message when status is failed.
job_idYesPass this to prs_job_status until status is done or failed.
resultNoWhen status is done: the original tool payload (TraitPRSReports, NormalizeResult, OpResult, or a list of PRSResult). Read html_link / result_paths from this object.
statusYesqueued/running: call prs_job_status. done: read result and html_link. failed: read error. Do not start a second identical compute while queued/running.
messageYesLatest progress line.
progressNoCompleted work units, when known.
html_linkNoPRIMARY REPORT DELIVERY TARGET. When set, put this exact value in the user reply as a markdown link and explicitly tell the user to open the interactive report. It is an HTTP URL when available and a file:// URI for local stdio. Never omit, fetch, or paste the HTML.
poll_withNoPoll this tool with job_id. Optional wait_seconds keeps one poll under typical client timeouts (try 25).prs_job_status
created_atYesUTC timestamp when the job was created.
html_errorNoOptional HTML-generation error. Scores remain valid when this is set.
progress_totalNoTotal work units, when known.
Install Server

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds value beyond annotations by explaining that wait_seconds causes the call to block until job completion, and by noting what to read when status is done (html_link, result). This is useful behavioral context not present in annotations.

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?

The description is concise, with two short paragraphs. The first sentence sets the purpose, and the second provides necessary context about the initiating tools and usage. The list of four tools is slightly verbose but serves to clarify which jobs this applies to. No unnecessary fluff.

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?

Since an output schema exists, the description need not detail return formats. It covers the key flow: call with job_id, optionally wait, check status, and read outputs when done. It doesn't address error conditions or non-done statuses, but these are likely captured in the output schema. The mention of 'safe for Cursor' adds practical context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Given 0% schema coverage, the description compensates by explaining both parameters: job_id is the identifier from the returning tools, and wait_seconds controls how long to wait within the call. It correctly implies that wait_seconds=0 returns immediately, reinforcing the polling semantics.

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 polls a long scoring/download job and explicitly references the four tools that return PRSJob objects. It distinguishes this from siblings like list_prs_jobs by focusing on polling a specific job rather than listing jobs. The verb 'poll' and resource 'job' are specific and unambiguous.

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 explicit usage context: call it with the job_id returned by the aforementioned tools, and explains the wait_seconds behavior (waits inside one call, safe for Cursor). It doesn't explicitly state when not to use it or name alternatives like list_prs_jobs, but the context is clear enough for an agent to know when to invoke it.

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

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/dna-seq/just-prs-mcp'

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