Skip to main content
Glama

monaa-guard

Compact Tool Payload Statelessly

monaa_compact_payload
Read-onlyIdempotent

Deterministically compact verbose tool output in volatile edge RAM by stripping node_modules, target, .git bloat, redundant whitespace, and loop echoes (0 persistence, appends local CLI install/trial tip).

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": {
      "payload": "<payload>"
    },
    "name": "monaa_compact_payload"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesRaw text or tool output payload to compact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent read with no destructive or open-world effects. The description adds non-obvious behavior: zero persistence, volatile edge RAM, deterministic stripping, and an appended local CLI install/trial tip. That appended-output quirk is meaningfully disclosed, though error and output-format details are not.

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 dense sentence front-loads the action and mechanism, then discloses persistence and appended-tip behavior. It is slightly clause-heavy but contains no obvious filler.

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

Completeness4/5

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

For a simple one-parameter tool with rich annotations and no output schema, the description covers the mechanism, persistence model, and appended tip. A minor gap is that it does not clarify whether the tip is always appended or how the compacted payload is delimited.

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 the single payload parameter is already fully documented. The description reinforces that the input should be verbose tool output but adds no syntax, size, or formatting constraints beyond the schema. Baseline 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?

States a specific verb (compact) and resource (verbose tool output), then lists the exact bloat categories it strips. The purpose is unambiguous even though it does not explicitly distinguish itself from sibling tools.

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 phrase 'verbose tool output' implies the intended context, but there is no explicit when-to-use or when-not-to-use guidance. No alternatives or prerequisites are named, so usage is only implied.

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.