Skip to main content
Glama

adaptorch_route_topology

Read-onlyIdempotent

Recommend an execution topology for a task DAG using the local TopologyRouter (no control-plane call).

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": {
      "subtasks": "<subtasks>"
    },
    "name": "adaptorch_route_topology"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional model id used for the USD cost estimate in orchestration_value. Unknown models report null.
subtasksYes
dependenciesNo
min_quality_gainNoCaller-owned acceptance bar the measured gain must reach to justify replication spend.
measured_quality_gainNoAccuracy gain the caller measured for the routed topology versus the baseline. Never inferred; without it replication topologies stay unproven.
prefer_ensemble_singletonNoPrice the same flag adaptorch_run accepts: route single-node DAGs to multi_model_ensemble and report what that replication costs before a run pays for it. true = explicit on, false = explicit off, null/omitted = auto policy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new context — the routing happens locally with no control-plane traffic — but says nothing about what the recommendation looks like, how confidence or cost estimates are surfaced, or failure modes for malformed DAGs.

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?

A single front-loaded sentence with the key constraint in a parenthetical; every word earns its place. It is arguably too terse for the complexity of the parameters, but not padded.

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?

Six parameters, including acceptance-threshold and measured-gain inputs with subtle auto-policy semantics, plus no output schema. The description explains none of the return shape or the meaning of an 'unproven' replication result, so an agent cannot predict what it will receive or how to act on it.

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?

The phrase 'task DAG' loosely maps to the subtasks/dependencies pair, but nothing is said about model, min_quality_gain, measured_quality_gain, or prefer_ensemble_singleton, which are the semantically tricky parameters. With schema coverage at 67% and no compensating explanation, the description leaves the cost/gain negotiation inputs unexplained.

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 — 'Recommend an execution topology for a task DAG' — plus the implementation path ('local TopologyRouter'). It does not name or differentiate from the obvious sibling adaptorch_run, so the agent must infer the boundary itself.

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 parenthetical '(no control-plane call)' implies this is a pre-flight/advisory step rather than an execution step, which hints at when to use it. However, there is no explicit guidance on when to call this versus adaptorch_run, or that the recommendation should precede a run.

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.