Skip to main content
Glama

desk_result

Retrieves the final result of a completed background job by job ID, enabling you to collect Gemini task output after submission.

Instructions

Get the final result of a finished job.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jobId": "<jobId>"
    },
    "name": "desk_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: not what happens if the job is still running or failed, whether the result is retained or expires, whether retrieval is idempotent, or what a result looks like. The single clause only restates the read of a terminal job.

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?

One short sentence with the key qualifier ("finished") front-loaded and no filler. It is efficient, though its brevity is partly under-specification rather than economy.

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

Completeness2/5

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

This tool has no annotations and no output schema, so the description is the only place an agent can learn what comes back and how failures surface — and it says nothing about either. For a result-fetching terminal operation, the definition is too thin to call correctly in edge cases.

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

Parameters2/5

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

Schema description coverage is 0%, and the description adds no meaning for jobId — no format, source (returned by desk_submit?), or validity constraints. The parameter is simple enough that an agent can guess, but the definition contributes nothing beyond the bare schema.

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?

States a specific verb and resource ("Get the final result") scoped to a "finished job", which is enough to separate it from desk_status and desk_submit in intent. It stops short of naming or contrasting any sibling explicitly.

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?

"Finished job" implies a precondition — only call once the job has completed — but that is left to inference rather than stated as a rule. No guidance on what to do instead while a job is still running (e.g. poll desk_status), and no note on whether this blocks or errors when the job is unfinished.

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