Skip to main content
Glama

bridge_context_pack

bridge_context_pack
Read-only

Build a compact memory context pack filtered by query or namespace, capped by an estimated token limit so prompts stay within budget.

Instructions

Montar pacote compacto de memórias com limite estimado de tokens.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bridge_context_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFiltro de texto
namespaceNoÁrea
max_estimated_tokensNoEstimativa de tokens, não medição exata

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. Beyond that the description only restates the token-limit idea from the schema and says nothing about how memories are selected, ranked, or truncated, or what the returned package looks like — the most important behavior for a packing tool.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity reflects under-specification rather than wasteful wording, so it scores well here even though other dimensions suffer.

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?

All parameters are optional, there is no output schema, and the operation is read-only, so the definition could easily afford a sentence on what the returned package contains and how the token budget is applied. As written, an agent cannot predict the result of a call.

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?

Schema description coverage is 100%, so all three parameters are documented in the schema itself. The description adds no syntax, default, or interaction details (e.g. what happens when query and namespace are omitted), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb+resource (assemble a compact package of memories under an estimated token budget), which is more than a restatement of the name. However, it never clarifies how this differs from adjacent capabilities such as bridge_compact_context or bridge_memory_search, so an agent must guess at the boundary.

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?

There is no when-to-use guidance, no prerequisites, and no exclusion of alternatives. The agent is told what the tool produces but not the situation that should trigger it over memory search or context compaction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.