Skip to main content
Glama

distribute_context_to_agents

Destructive

Create a single context pack from a query and distribute it to multiple agents, replacing independent context derivations with shared provenance tracking.

Instructions

Leader-Agent swarm coordinator. Constructs one context pack and distributes it to N worker agents (perplexity-bug-resolver, codex-reviewer, grok-x-intelligence, etc.), recording provenance per agent. Replaces N independent context derivations with a single shared pack.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoContext query used to construct the pack
agentsYesAgent names that should receive the pack
maxItemsNoMax items in the constructed pack (default 8)
maxCharsNoMax characters in the constructed pack (default 6000)
namespacesNoOptional contextfs namespaces to source from
ttlMsNoOptional pack TTL in milliseconds (default 15 minutes)
Behavior3/5

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

Annotations include destructiveHint=true. The description adds that it records provenance per agent, but does not elaborate on what the destructive behavior entails (which state changes occur). The description does not contradict the annotations, but the behavioral information beyond what annotations provide is limited.

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 concise with two sentences, front-loading the main purpose. No redundant or extraneous information. Every sentence serves a purpose.

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?

The description provides a clear high-level purpose for a tool with 6 parameters and a destructive annotation. While it lacks return value information, the tool's function (distributing context) implies a side-effect presence. Given no output schema, the description is sufficiently complete for an agent to understand the primary action and result.

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?

The input schema has 100% description coverage for all 6 parameters. The description does not elaborate on individual parameter meanings beyond what the schema already provides, so the value added is minimal. Baseline 3 is appropriate given full schema coverage.

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?

Description clearly identifies the tool as a leader-agent swarm coordinator that constructs and distributes a single context pack to multiple worker agents. It uses specific verbs and resources ('constructs', 'distributes') and distinguishes from siblings like 'construct_context_pack' and 'context_provenance' by explicitly stating it replaces multiple independent contexts with one shared pack.

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

Usage Guidelines4/5

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

The description includes implicit usage guidance by stating that this tool replaces N independent context derivations, suggesting it should be used when distributing the same context to multiple agents. However, it does not provide explicit when-not-to-use scenarios or alternatives beyond the implied distinction from other context tools.

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/IgorGanapolsky/ThumbGate'

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