Skip to main content
Glama

get_dependency_results

Read-onlyIdempotent

Retrieve structured results for a parent task's dependencies, returning each accessible thread ID with its result or null if not produced yet.

Instructions

Gather the structured results of a parent task's dependencies as a list of {thread_id, result} objects (result null if not produced yet), skipping dependencies you can't access. The spawn/wait/aggregate read for a parent task.

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": {
      "thread_id": "<thread_id>"
    },
    "name": "get_dependency_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesthe parent task

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds real behavioral detail: entries can be null when a dependency hasn't produced a result yet, and inaccessible dependencies are silently skipped rather than erroring — both are non-obvious and useful for interpreting output.

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?

Two sentences, front-loaded with the core action and return shape, with the workflow framing last. The trailing clause is somewhat jargon-dense but does convey the intended usage phase, so little is wasted.

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 one-parameter read tool with no output schema, the description covers the essential contract: the return is a list of {thread_id, result} objects, nulls are possible, and access-filtering occurs. An agent could call and interpret this correctly without further information.

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% and the single parameter is documented as 'the parent task'. The description reinforces that the id must be the parent (not a dependency thread), which is a helpful disambiguation, but adds no format or syntax detail beyond the 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 ('Gather the structured results of a parent task's dependencies') and even names the shape of the return value. It does not explicitly contrast with the plausible sibling list_thread_results, so differentiation is left to inference.

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?

'The spawn/wait/aggregate read for a parent task' implies this is the read step in a spawn-then-aggregate workflow, which gives context for when to reach for it. However, there is no explicit when-not or named alternative (e.g. list_thread_results), so the agent must infer the boundary.

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

Deploy Server

Other Tools