Skip to main content
Glama

Get task result

get_task_result
Read-onlyIdempotent

Check a background job started by another Zenod tool, such as store_memory or ingest_memory, by its jobId. Returns its status: queued or running while in progress; done with the job's result (for a save: the evidence reference, pages touched and saved revision; for an ingest: the media receipt or error); error with a message; or interrupted when a server restart stopped the job, in which case the original call can be sent again. Jobs run one at a time, so a queued job may wait behind earlier ones.

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_task_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdNoCompatibility alias for ticket_id
ticket_idNoThe canonical ticket_id returned by an async tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations by enumerating the full status vocabulary (queued, running, done, error, interrupted), describing the payload per job type, and disclosing that jobs execute serially so a queued job may wait behind earlier ones. The interrupt-and-retry semantics are exactly the kind of operational context annotations cannot carry.

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?

Front-loaded with purpose, then the return states, then the concurrency caveat, with no filler sentences. The long semicolon-delimited status enumeration is dense but appropriately scannable and each clause carries distinct information.

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 no output schema, the description takes on the burden of describing return values and does so thoroughly per status. It is complete enough to call correctly and interpret results, though it offers no guidance on polling cadence or expected job duration.

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 100%, so both parameters are already documented, and the description only echoes that lookup is 'by its jobId'. It does not explain the non-obvious jobId/ticket_id alias relationship or why neither parameter is required, which is the one place added prose would have helped.

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?

States a specific verb and resource ('Check a background job ... by its jobId') and anchors it to the originating tools (store_memory, ingest_memory). An agent can immediately tell this is the polling companion to async write tools, not a search or retrieval tool.

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?

Clear usage context: call it after another Zenod tool returns a jobId, and resend the original call when status is 'interrupted'. The only gap is that it does not clarify the boundary with the sibling get_ingest_result, since it also promises an ingest receipt.

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.