Skip to main content
Glama

Fetch job result (free)

kimi_job_result
Read-only

Fetch a finished Kimi job's result without deleting the record. Handles delegate, consult, or review async jobs when the status reports a result is available.

Instructions

Fetch a finished background Kimi job's result WITHOUT deleting the record.

Works for any async job or sync consult/review/delegate (whose meta.job_id names its record) — kimi_delegate_async (a diff), kimi_consult_async (a consult answer), or kimi_review_changes_async (a review with verdict). Use when kimi_job_status reports result_available=true; the envelope matches the job's kind, so branch on tool. meta.job_id is set. A still-running/cancelled/timed- out/failed job returns an error envelope — as does a done job whose stored result this release cannot read (job_result_incompatible). To fetch and delete, use kimi_job_consume_result. Free — no model call.

detail="summary" (default) omits the raw model text; pass detail="full" for the complete raw output and metadata (#56).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNoResponse verbosity: 'summary' (default) omits the raw model text; 'full' includes it.summary
job_idYesThe job_id from an *_async call or a sync call's meta.job_id; recover lost ids with kimi_job_list.
workspace_rootNoAbsolute path to the target repo root — pass it (or an MCP root) to target the intended repo; otherwise the call falls back to the server's own cwd and sets meta.workspace_warning.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYestrue = success result, false = error result
Behavior5/5

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

The description discloses error envelopes for running/cancelled/timed-out/failed jobs, notes the job_result_incompatible case, and clarifies it makes no model call ('Free'). It also explains the default detail behavior and workspace_root fallback warning. These go well beyond the annotation's readOnlyHint=true, adding valuable edge-case 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?

Though the description is longer than one sentence, every clause carries purpose: purpose, scope, when-to-use, error behavior, alternative tool, and parameter hint. It is front-loaded with the core action and then logically branches into details. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for the tool's complexity: it addresses the full lifecycle (fetch vs consume), the relationship to job_status, error conditions, the return envelope 'branch on tool', and the parameter behavior. The presence of an output schema means return value details don't need to be reiterated, and the description covers everything else an agent needs to select and invoke correctly.

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 the description doesn't need to explain parameters from scratch. It does add usage context for job_id (sources from async calls or meta.job_id) and explains the detail parameter's effect, but these largely mirror the schema. The workspace_root parameter is only described in the schema. Given the schema already carries the meanings, a baseline 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 immediately states the tool's exact action: 'Fetch a finished background Kimi job's result WITHOUT deleting the record.' It also differentiates from the sibling kimi_job_consume_result (which fetches and deletes) and lists the specific job types covered. The verb 'fetch' plus resource 'job result' plus the non-destructive qualifier makes the purpose unmistakable.

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

Usage Guidelines5/5

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

Explicitly states when to use: 'Use when kimi_job_status reports result_available=true.' It also mentions the alternative for fetch-and-delete ('use kimi_job_consume_result') and lists compatible source tools (delegate_async, consult_async, review_changes_async). This provides clear when/when-not guidance relative to siblings.

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/briandconnelly/moonbridge'

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