Skip to main content
Glama

distribute_context_to_agents

Destructive

Construct one context pack shared across multiple agents, replacing independent context builds with a single consistent source for your worker swarm.

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 already flag destructiveHint=true. The description adds context about provenance recording and shared pack, but doesn't elaborate on destructive behavior. No contradiction.

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?

Two sentences, front-loaded with 'Leader-Agent swarm coordinator', and every word adds value. No waste.

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 tool is complex with no output schema, but the description covers purpose, benefit, and key behavior (provenance, sharing). Could include more on error handling or limitations, but sufficient for a coordinator tool.

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?

All 6 parameters have descriptions in the input schema (100% coverage). The description adds no additional meaning beyond what the schema provides, so baseline of 3 is appropriate.

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 clearly defines the tool as a 'Leader-Agent swarm coordinator' with the specific verb 'distributes' and resource 'context pack'. It distinguishes itself from siblings like 'construct_context_pack' by stating it replaces N independent context derivations.

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 implies usage for avoiding redundant context building in a swarm, but lacks explicit when-not-to-use or mention of alternatives. The context is clear but not exhaustive.

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