You're viewing a demo portfolio

Join the waitlist
PRSM

optimize_prompt_tokens

Active

Tool of IA-QA — 130+ QA & Dev Tools for AI Agents

declared in 1.0.0

Compress an LLM prompt by removing filler words, verbose phrases, duplicate sentences, and unnecessary whitespace. Returns optimized text with token savings breakdown. 100% deterministic, no API key needed.

Parameters schema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The prompt text to optimize"
    },
    "options": {
      "type": "object",
      "properties": {
        "fillers": {
          "type": "boolean",
          "default": true
        },
        "duplicates": {
          "type": "boolean",
          "default": true
        },
        "whitespace": {
          "type": "boolean",
          "default": true
        },
        "instructions": {
          "type": "boolean",
          "default": true
        }
      },
      "description": "Toggle optimization steps (all true by default)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

IA-QA — 130+ QA & Dev Tools for AI Agents

https://github.com/jcjamet/ia-qa

1/7 registries
View full server →
optimize_prompt_tokens — IA-QA — 130+ QA & Dev Tools for AI Agents — PRSM MCP