Skip to main content
Glama

delegate

Save premium tokens by offloading routine subtasks to cheaper models. Send a self-contained task with full context and receive the model's output directly.

Instructions

Offload a self-contained subtask to a cheaper model and return its output.

WHEN TO USE: hand off replaceable grunt work to save your premium tokens — boilerplate code, small bug fixes, formatting, translation, reading/summarizing long documents, drafting routine copy. Do NOT delegate judgment work (planning, architecture, final review, talking to the user) — keep that for yourself.

The delegated model sees ONLY the task string and has NO access to this conversation. So make task fully self-contained (include all needed context).

Args: task: Complete, self-contained instruction for the cheap model. model: "auto" (default) routes by task — code→deepseek, long docs→kimi, Chinese→qwen, multi-step→mimo, quick chores→flash. Or force an alias (deepseek/mimo/flash/kimi/qwen) or a raw proxy model_name. max_tokens: Output cap. Default 4000 (kept large so reasoning models that spend budget on hidden thinking still return non-empty text).

Note: a call typically takes ~10-60s (longer for big inputs) and blocks until the cheap model returns, so prefer one focused task per call.

Returns: The model's text output, or a string starting with "[delegate-error]" on failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
modelNoauto
max_tokensNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.1

TDQS

A5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it delivers: it discloses that the model sees only the task string, has no conversation access, blocks for ~10- 60s, routes models by task, and returns an error-prefixed string on failure. It also explains the max_tokens rationale, making runtime behavior predictable.

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?

The description is long but every sentence carries information: usage boundaries, parameters, latency, failure mode, and return value. It is front-loaded with the core purpose and uses clear section labels (WHEN TO USE, Args, Note, Returns) for scannability.

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

Completeness5/5

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

The description covers what the tool does, when to use it, what each parameter means, what the model sees, how long it takes, and what is returned on both success and failure. Nothing essential is missing for safe and correct invocation.

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%, so the description must fully explain the parameters. It defines task as self-contained, explains the auto routing behavior for model with specific model aliases, and gives the default and purpose of max_tokens. This is more than enough to invoke the tool correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific action and resource: offloading a self-contained subtask to a cheaper model and returning its output. It clearly distinguishes itself from premium-token work and from the unrelated siblings (savings, list_models) by defining its exact role.

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

Usage Guidelines5/5

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

It provides an explicit WHEN TO USE section with concrete examples of acceptable grunt work and an explicit DO NOT delegate list for judgment work. This gives an agent clear criteria for choosing this tool over doing the work itself or using another tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/millennialdreamer/cheaplane'

If you have feedback or need assistance with the MCP directory API, please join our Discord server