Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

resolve_task_run

Read-onlyIdempotent

ROUTING 2/3 FOR TASKRUN: preview server-owned AUTO mode and the SINGLE/STRATEGY/COMPOUND/HYBRID child plan. It never executes; call start_task_run after inspection.

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": {
      "input": "<input>"
    },
    "name": "resolve_task_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe end-user request or runtime input that Vira must resolve, execute, or evaluate.
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
intentCountNoDocumented intentCount input for resolve_task_run; use the published type and keep customer data within the authenticated scope.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
requestedModeNoDocumented requestedMode input for resolve_task_run; use the published type and keep customer data within the authenticated scope.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
hostCapabilitiesNoDocumented hostCapabilities input for resolve_task_run; use the published type and keep customer data within the authenticated scope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / environmentId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / hostCapabilities / description
      Added value: +"Documented hostCapabilities input for resolve_task_run; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / input / description
      Added value: +"The end-user request or runtime input that Vira must resolve, execute, or evaluate."
    • addedInput schema / properties / intentCount / description
      Added value: +"Documented intentCount input for resolve_task_run; use the published type and keep customer data within the authenticated scope."
    • addedInput schema / properties / organizationId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / projectId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / requestedMode / description
      Added value: +"Documented requestedMode input for resolve_task_run; use the published type and keep customer data within the authenticated scope."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, closed-world and non-destructive, so the safety profile is covered. The description reinforces this with 'It never executes', which is consistent rather than contradictory, and adds the routing-mode vocabulary. It does not say whether the resolved plan is persisted, how long an inspected plan remains valid before start_task_run, or what the preview returns — meaningful gaps that annotations alone don't fill.

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 tight sentences with the key constraint ('never executes') front-loaded just before the follow-up tool call. The all-caps routing prefix is noisy and low-information, but nothing is padded or repeated.

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

Completeness3/5

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

For a 7-parameter routing tool with no output schema, the definition should at least characterize the preview result (what the child plan looks like or which modes can come back). The mode enumeration partially covers this, but the return shape and the meaning of the several scope parameters are left unaddressed.

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 description coverage is 100%, so the parameters are already documented, and the description adds no parameter-level guidance beyond loosely implying that requestedMode relates to AUTO mode. Terms like intentCount, hostCapabilities and the several customer-scope identifiers receive no clarification in the description, so 3 is the correct baseline.

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 names a concrete action (preview the server-owned AUTO-mode routing decision and the resulting SINGLE/STRATEGY/COMPOUND/HYBRID child plan) and explicitly contrasts it with start_task_run. The 'ROUTING 2/3 FOR TASKRUN' prefix is opaque jargon, but the body sentence makes the verb and resource identifiable enough to distinguish it from siblings like start_task_run or resolve_runtime.

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?

It states the lifecycle position unambiguously: this step only inspects, and start_task_run must be called afterwards to actually execute. That is a clear when-to-use/when-not signal for the most likely confusion (preview vs. run). It stops short of naming any other alternative or stating prerequisites such as what occurs if the plan is never started.

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.

Resources