Skip to main content
Glama

brick.blue

compress_prompt

Compress a prompt and move it to English: same job, fewer tokens, and the answer still comes back in the language you wrote in. Constraints, formats and identifiers are kept verbatim. Charged per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
callerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses that the tool is charged per call, preserves constraints/formats/identifiers verbatim, and maintains the answer language. It does not mention potential failure modes, rate limits, or the exact return format, but for a simple transform tool these are the key behaviors an agent needs. No contradiction with annotations (none provided).

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, front-loading the primary purpose, then adding constraints and cost in a logical order. Every sentence provides new information; there is no filler or redundancy. It is appropriately short for a simple tool.

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?

Given the tool's simplicity and the lack of output schema, the description is mostly complete but falls short on two points: it does not explain the 'caller' parameter, and it does not explicitly state what the tool returns (presumably the compressed prompt). The mention of 'answer still comes back in the language you wrote in' refers to the downstream behavior, not the tool's own output. These gaps could lead an agent to misuse the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It clarifies that 'text' is the prompt to be compressed, but it entirely omits any explanation of the 'caller' parameter. The description does not mention who or what the caller is, nor its purpose. Since there are only two parameters, this is a significant gap, making the tool partially opaque.

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 action (compress a prompt), the target (a prompt), and key outcomes (fewer tokens, conversion to English, answer in original language). It distinguishes itself from sibling tools by focusing on compression and language conversion, which no other sibling does. The verb and resource are specific and unambiguous.

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 implies usage: when you want to reduce token count and have the prompt processed in English while preserving the answer language. However, it does not explicitly state when not to use it or mention alternatives. There is no direct competitor among siblings, so the lack of explicit exclusions is acceptable, but explicit guidance would improve clarity.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources