Skip to main content
Glama

delegate_task

Send a self-contained text task such as summarization, translation, or code review to an OpenAI-compatible model and receive the answer plus token usage.

Instructions

Delegate a bounded text task; return the specialist's answer and token usage.

Sends supplied text to a third-party provider and may incur charges. No file access, tool execution, conversation memory or recursive delegation.

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_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesSelf-contained specialist task
modelNo
contextNo
providerNo
max_tokensNo
temperatureNo
instructionsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and readOnlyHint=false, but the description adds genuinely new context: data is sent to a third-party provider, charges may be incurred, and the delegation boundary excludes files, tools, memory and recursion. It does not address rate limits or output variability, but the cost and data-egress disclosures are the important additions.

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, front-loaded with the action and result, followed by the cost and sandbox constraints. Minimal waste, though 'return the specialist's answer and token usage' partially duplicates what the output schema already supplies.

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?

For a 7-parameter, open-world, billed tool, the description covers the action and hazards but says nothing about how model/provider/instructions interact or what 'bounded' means numerically. The existence of an output schema excuses it from explaining return values, but the parameter-level guidance gap is significant.

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?

Schema description coverage is only 14% – only 'task' is documented in the schema – yet the description mentions none of the six other parameters (model, provider, context, max_tokens, temperature, instructions). With low coverage the description was expected to compensate, and it does not, leaving the agent to guess the routing and sampling inputs.

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: delegating a bounded text task to a third-party specialist and returning the answer plus token usage. It is clearly distinguishable from the sibling catalog tools (list_models, list_providers), though it does not name them explicitly.

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 phrase "bounded text task" and the negative constraints (no file access, no tool execution, no memory, no recursion) implicitly tell the agent which requests fit, and the billing warning gives a caution signal. However, there is no explicit statement of when to prefer this over handling the text directly or which kinds of tasks are inappropriate beyond the negative list.

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