Skip to main content
Glama

delegate

Hands self-contained, token-heavy tasks to free external LLMs and returns results for bulk code, tests, translations, and summaries, saving Claude tokens.

Instructions

Hand a self-contained, token-heavy task to the best FREE external LLM (Gemini, DeepSeek, Qwen, Kimi, GPT-OSS, Llama... via free API tiers) and get its result. Use it for bulk generation: new files/modules, boilerplate, tests, translations, long text, summaries of big files. Do NOT use it for tiny edits (cheaper to do yourself) or for decisions that need your full understanding of the repo. Always verify the result.

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

Input Schema

NameRequiredDescriptionDefault
kindNocode = write/modify code · text = prose, translation, marketing copy · summarize = digest big files/docs · review = find problems · reasoning = math/logic/planning · general = anything else. Picks the best free model for it.
taskYesComplete, self-contained instructions. The free model sees nothing except this text and `files`. State language, framework, file conventions, exact output wanted.
filesNoFile paths (relative to the project or absolute) that the free model should see. They are read from disk by this server, so their content does NOT cost you tokens. Secret values (.env, keys, tokens, passwords) are masked automatically.
modelNoOptional: prefer a model whose "provider/model" id contains this text, e.g. "gemini-2.5-pro" or "groq/". Falls back automatically.
systemNoOptional custom system prompt.
save_toNoWrite the result to this file instead of returning it. Use for generated code/docs so you do not re-type them. You only get a one-line confirmation; Read or diff the file to verify.
overwriteNoAllow save_to to replace an existing file. Default false.
max_tokensNoMax output tokens (default 8192).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden and does a creditable job: it explains that files are read server-side so they cost no tokens, that secrets are masked automatically, that save_to returns only a one-line confirmation requiring a Read or diff, and that model selection falls back automatically. It says nothing about latency, rate limits, failure/fallback behavior when all free tiers are exhausted, or that task text is sent to a third party, which are the gaps that matter for a delegation tool.

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?

It is front-loaded with the core action and follows with usage and exclusions in descending priority, with no filler sentences. The parenthetical provider list is mildly decorative, but it substantiates the 'free tiers' claim, so the waste is minimal rather than absent.

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 an 8-parameter tool with no output schema and no annotations, the description covers the operationally risky parts: external trust, verification duty, file-based context, secret masking, and write-to-disk confirmation. It is missing operational expectations around backend failure and latency, but an agent has enough to call it correctly.

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 every parameter is already documented in the schema, including the kind enum, file masking, and save_to/overwrite semantics. The prose reinforces 'self-contained' for the task parameter but adds no format, size, or syntax detail beyond what the schema provides, so the baseline of 3 applies.

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: hand a self-contained token-heavy task to a free external LLM and return its result. It names concrete providers and enumerates the task classes it handles, so the purpose is unmistakable. It never differentiates itself from the sibling tools delegate_checked or free_models, which is the one thing keeping this from 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 Guidelines5/5

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

Both directions are spelled out: use it for bulk generation such as new modules, boilerplate, tests, translations, and summaries of big files, and explicitly do NOT use it for tiny edits or for decisions needing full repo understanding. It also adds the follow-up obligation ('Always verify the result'), which is the guidance an agent most needs for an untrusted external model.

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

Deploy Server

Other Tools