Skip to main content
Glama

bridge_compact_context

bridge_compact_context

Summarize long text into reusable context focused on facts and decisions, reducing token use while preserving key details.

Instructions

Resumir texto longo em contexto reutilizável com foco em fatos e decisões; usa API e também consome tokens.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "bridge_compact_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesConteúdo a compactar
modelNoModelo preferido
max_output_tokensNoTamanho do resumo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

B3.2/5.0
Behavior3/5

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

With annotations empty, the description bears the full disclosure burden, and it does add real value: 'usa API e também consome tokens' warns that this makes an external API call and incurs token cost. It does not cover permission requirements, truncation behavior, or error modes, which matters for a token-consuming call.

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 the action+resource first and the cost/API caveat after a semicolon. No filler, though the semicolon clause is compressed enough to be slightly opaque.

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

Completeness3/5

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

The tool is simple (3 fully documented params) and the description covers purpose and cost. With no output schema, it does not say what the returned 'contexto reutilizável' looks like (plain summary? structured facts?) or how model selection and token limits affect the result, leaving a modest gap.

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 coverage is 100%, so text, model, and max_output_tokens are already documented in the schema, and baseline is 3. The description adds the summarization focus ('fatos e decisões') but no meaning about how model or max_output_tokens are honored.

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?

States a specific verb and resource: 'Resumir texto longo em contexto reutilizável', with the qualifier 'com foco em fatos e decisões'. An agent can tell this compacts text into a reusable summary. It does not differentiate itself from nearby siblings such as bridge_context_pack, so it falls short of a 5.

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 implies the use case (condensing long text into reusable context) but gives no explicit when-to-use, when-not-to-use, or alternative selection guidance. Nothing tells the agent when to prefer bridge_context_pack or another sibling over this tool.

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