Skip to main content
Glama

agent_memory_summarization_compressor

Compress multi-turn agent conversations into a structured semantic scratchpad, preserving key decisions while dropping conversational noise.

Instructions

Compresses multi-turn agent conversation history into a structured semantic scratchpad, preserving key decisions and dropping conversational noise. (0.040 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context by noting the exact cost (0.040 USDC on Base L2) and the operation's nature (preserve decisions, drop noise). However, it does not disclose output format, side effects, reversibility, or whether the input is mutated. The cost disclosure partially compensates, but the overall behavioral picture is incomplete.

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 a single sentence with zero wasted words. It front-loads the core action ('Compresses'), specifies the scope ('multi-turn agent conversation history'), describes the outcome ('structured semantic scratchpad'), and appends the cost in parentheses. Every element earns its place, and the length is proportional to the tool's simplicity.

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?

There is no output schema, so the description must clarify what the tool returns. It vaguely says it produces a 'structured semantic scratchpad', but does not specify the format, structure, or how to interpret the result. It also omits error scenarios, payload format expectations, and payment flow details beyond cost. Given the absence of an output schema.EndThis is a significant gap for an agent deciding whether and how to invoke the 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?

The input schema describes both parameters (payload and paymentSignature) with 100% coverage. The description does not add any parameter-specific information beyond noting the cost, which echoes the paymentSignature parameter but adds no new semantics. Since the schema already handles parameter meaning, a baseline of 3 is appropriate.

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 states a specific verb ('Compresses'), a clear resource ('multi-turn agent conversation history'), and a defined output ('structured semantic scratchpad'). It also clarifies what it preserves and what it drops, making the tool's purpose unambiguous. It does not explicitly differentiate from siblings like chunk_text_semantic or extract_structured_metadata, but the combination of 'compresses' and 'conversation history' is distinctive enough.

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?

No guidance is provided on when to use this tool versus alternatives, nor any mention of prerequisites, exclusions, or preferred contexts. The description simply states what the tool does without situating it among sibling tools. An agent would have to infer when compression is appropriate with no supporting cues.

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

Deploy Server

Other Tools