Skip to main content
Glama

delegate

Hand off bounded tasks to a cheaper or local model for bulk summarization, log triage, reformatting, or classification over long text, with automatic model selection and cost reporting.

Instructions

Hand a bounded task to a cheaper or local model instead of doing it yourself. Good for bulk summarising, log triage, reformatting, and classification over long text.

Args: prompt: The full task, self-contained. tier: "fast" | "balanced" | "powerful" (default "fast"). budget: "free" | "cheap" | "best" — overrides the configured default.

Returns {"text", "model", "cost_usd", "local"}. The model is chosen and verified at call time; you don't need to name one.

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": {
      "prompt": "<prompt>"
    },
    "name": "delegate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNofast
budgetNo
promptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a fair job: it discloses that the model is selected and verified at call time, that callers need not name one, that tier defaults to fast, and that budget overrides the configured default. It also pre-empts the biggest unknown by describing the return shape. It omits failure modes, whether the delegated model can use tools or see context, length limits, and any cost ceiling behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the decision-relevant sentence, then a compact Args block, then a one-line Returns. Every sentence earns its place, including the closing note that removes the temptation to specify a model. No filler or hedging.

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 three-parameter tool with no annotations and no output schema, the definition covers selection guidance, all parameter values, and the return fields, which is most of what an agent needs. The remaining gap is operational: nothing about error behavior, retries, or what happens when the budget cannot be met, which matters for a tool whose whole premise is cost control.

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

Parameters5/5

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

Schema description coverage is 0% and the schema carries no enums, so the description must supply everything — and it does. All three parameters are explained, both tier and budget get their full value sets inline, defaults are stated, and 'prompt: The full task, self-contained' conveys the important constraint that no ambient context is forwarded. This is meaning well 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?

The opening sentence states a specific action and target: hand a bounded task to a cheaper or local model rather than doing it in the main agent. That is far more informative than a restatement of the name. It stops short of a 5 because the listed use cases (bulk summarising, classification) overlap directly with the sibling tools summarise and classify, and the definition never disambiguates against them.

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?

It gives positive use cases — bulk summarising, log triage, reformatting, classification over long text — which is enough to infer when to reach for it. There is no when-not guidance, no cost or latency tradeoff beyond the budget parameter, and no pointer to the sibling tools that cover the same ground for a single document. Usage is implied rather than bounded.

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