Skip to main content
Glama

Construct Context Pack

construct_context_pack
Destructive

Constructs a bounded context pack from contextfs to limit agent actions with query, namespace, and size constraints.

Instructions

Construct a bounded context pack from contextfs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
maxItemsNo
maxCharsNo
namespacesNo
Behavior3/5

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

Annotations already provide destructiveHint=true, indicating potential side effects. The description's phrase 'construct' is consistent with this. However, the description does not add any further behavioral context beyond the annotation, such as whether it overwrites existing packs or requires authorization.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short (one sentence) but fails to convey necessary information. While concise in length, it is under-specified, leaving the agent without critical details about usage and parameters.

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

Completeness1/5

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

Given that the tool has four undocumented parameters, no output schema, and a destructive hint, the description is wholly inadequate. It does not explain parameter semantics, output behavior, or usage scenarios, making it very difficult for an agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention any of the four parameters (query, maxItems, maxChars, namespaces). The description provides no additional meaning beyond the parameter names present in the schema.

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 clearly states the tool constructs a bounded context pack from contextfs. It uses a specific verb and resource, and is distinguishable from the sibling tool 'evaluate_context_pack' which evaluates packs instead. However, it lacks detail on what exactly a context pack is.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, context, or exclusions. The agent has no basis to choose this tool over others from the sibling list.

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