Skip to main content
Glama

tsm_summarize

Compress long text into a concise summary with bullet points, decision highlights, and risk flags to reduce token consumption before passing to the main model.

Instructions

Compress long text into a concise summary with bullet points and risk flags. Useful for compressing long conversations, logs, documents, or diff context before passing to the main model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesLong text to summarize
max_pointsNoMaximum number of bullet points (default: 6)
summary_styleYesSummarization style: brief paragraph, bullet points, or decision-focused
Behavior2/5

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

No annotations are provided, so the description must disclose all behavioral traits. It mentions 'risk flags' which are not reflected in the input schema, leaving output behavior unclear. It does not state whether the tool is read-only or has side effects.

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 extremely concise: one sentence front-loaded with the core purpose. Every part is informative and earns its place. No fluff or redundancy.

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?

The tool has no output schema and the description does not explain the return format, error conditions, or limitations. It mentions 'bullet points and risk flags' but provides no detail on how they are structured, leaving the agent underinformed.

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 the baseline is 3. The description adds context about 'risk flags' but does not significantly enhance understanding beyond the schema's parameter descriptions. It adds minimal value.

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 compresses long text into a concise summary with bullet points and risk flags. It distinguishes from sibling tools like classification and code generation. However, 'risk flags' are not defined in the schema, causing slight ambiguity.

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

Usage Guidelines3/5

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

The description provides examples of when to use the tool ('long conversations, logs, documents, or diff context'), but does not specify when not to use it or guide toward alternative tools. The usage context is implied but lacks explicit exclusions.

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/AndersHsueh/tokens-saver-mcp'

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