Skip to main content
Glama

load_context

Load a token-budgeted resume of task state including goals, decisions, dead ends, and next actions to orient before reading code. Use at session start.

Instructions

Load a token-budgeted markdown resume of Agentpack state for the current task: Task Passport status and next actions, git state, query-relevant decisions, dead ends, and source conclusions, plus gate warnings when the task lifecycle needs attention. Call once at the start of a session or task, before reading code; re-call only for a different query or budget. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoFocused free-text query for the current task. Matching source records keep full summaries; unrelated records collapse to compact stubs to save tokens.
budgetNoApproximate token budget for the resume. Takes precedence over preset. Default 4000.
presetNoNamed token budget: quick (1200), chat (4000), agent (8000), or deep (16000). Use quick for task-start orientation.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It declares 'Read-only' and explains token budgeting and gate warnings. It does not detail side effects or rate limits, but for a read operation, the behavioral traits are adequately disclosed. It could be more thorough on what happens on multiple calls, but it already states the re-call condition.

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 three sentences totaling about 60 words. It is front-loaded with purpose, followed by usage guidance and read-only note. Every sentence adds value with no redundancies. Highly efficient and well-structured.

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 a 3-parameter tool with no output schema, the description covers the key aspects: what data is loaded, token budgeting, usage timing, and safety (read-only). It does not detail the exact format of the markdown resume, but given the task-oriented nature, it is complete enough 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.

Parameters3/5

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

The input schema already provides 100% coverage with descriptions for all three parameters, including token counts for presets. The tool description does not add new meaning beyond what is in the schema; it merely reiterates. Therefore, the description provides no incremental value for parameter understanding, meeting the baseline.

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 states the tool loads a token-budgeted markdown resume of Agentpack state, listing specific content (Task Passport, git state, etc.). It uses a specific verb ('Load') and resource ('resume of Agentpack state'), making the purpose unmistakable. Although it does not explicitly differentiate from sibling 'resume', the detailed content description provides sufficient distinction.

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 explicitly advises when to call ('at the start of a session or task, before reading code') and when to re-call ('only for a different query or budget'). It implies read-only usage. However, it does not explicitly mention when not to use or compare with sibling tools, which would strengthen the guidance, but the given context is clear enough for an AI agent.

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/ihorponom/agentpack'

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