Skip to content
Eden Engine

Prompt Compressor (30% Reduction Target)

omnial/prompt-compression

Rewrites a prompt for a language model to be shorter, aiming for about a 30% reduction, and returns the shortened prompt, a list of the wording it removed or condensed with the reason for each, and a list of the instructions it kept. Your input is sent to an outside service for processing; remove secrets and personal data first.

activeper callv3

Price

Up to $0.0487 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Anthropic

Generated by Anthropic's Claude from the inputs you provide.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/prompt-compression" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/prompt-compression" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/prompt-compression", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/prompt-compression", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0487
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "prompt_text"
  ],
  "properties": {
    "prompt_text": {
      "type": "string",
      "description": "The prompt to shorten, as plain text."
    },
    "target_reduction_percent": {
      "enum": [
        30
      ],
      "type": "integer",
      "default": 30,
      "description": "How much shorter to aim for, in percent. Only 30 is offered."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "removed_content": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Wording that was removed or condensed, each with the reason in parentheses."
    },
    "compressed_prompt": {
      "type": "string",
      "description": "The shortened prompt."
    },
    "preserved_instructions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The instructions the shortened prompt still carries, one per entry."
    }
  },
  "description": "The shortened prompt, as returned after shaping."
}