Skip to main content
Glama

Apply external execution advice

todo_apply_execution_advice

Applies neutral advisor rankings to ready tasks and rejects unknown or blocked task IDs without bypassing dependencies.

Instructions

Apply a neutral advisor ranking to ready tasks. Unknown or blocked task ids are rejected; dependencies are never bypassed.

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": {
      "workspaceRoot": "<workspaceRoot>",
      "planId": "<planId>",
      "advice": "<advice>"
    },
    "name": "todo_apply_execution_advice"
  }
}

Input Schema

NameRequiredDescriptionDefault
adviceYes
planIdYes
workspaceRootYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations declare non-read-only, non-destructive, non-idempotent, closed-world, so the description doesn't need to restate mutation. It does add real behavioral context: rejection of unknown or blocked task ids and the guarantee that dependencies are never bypassed. It does not say whether prior advice is overwritten, whether counts of applied/skipped ids are returned, or what happens to tasks absent from the advice.

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 short sentences, front-loaded with purpose followed by constraints; nothing is padded. It is tight but arguably under-detailed rather than wasteful.

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?

With a nested advice object, 3 required params at 0% schema coverage, and a state-mutating operation, the description is too thin; an output schema exists so return values needn't be explained, but the semantics of applying advice (ordering vs. deferral, id validation per list) are missing.

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%, so the description must carry the burden, yet it never mentions planId, workspaceRoot, or the nested advice fields (recommendedNow, executionOrder, deferUntilReset, source, checkpoint). Only the general notion of a 'ranking' hints at ordering fields, leaving most nested structure undocumented.

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?

The description states a specific verb and resource: applying an advisor ranking to ready tasks, which distinguishes it from siblings like todo_get_execution_candidates (which presumably produces candidates rather than applying advice). It doesn't name a sibling explicitly, so it stops short of a 5.

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

Usage Guidelines2/5

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

No explicit when-to-use guidance or alternatives are given; the only constraint is that ids must be ready and unblocked. The agent must infer that this is the write-side counterpart to candidate gathering and recommendation tools.

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