Skip to main content
Glama

suggest_improvements

Read-onlyIdempotent

Generates ranked improvement suggestions for your token cascade by simulating multiple strategies and returns the highest-impact change for optimizing yield.

Instructions

Generates ranked, simulated improvement suggestions for your token cascade. Takes your 4 pillars, tests multiple improvement strategies (increase cache reads, reduce fresh input, increase output, optimize cache creation), simulates each with the canonical cascade engine, and returns them ranked by Υ yield impact. Each suggestion includes: the action, which pillar to change, how much to change it, the projected Υ after the change, the yield delta, the projected class tier, and a rationale. Also returns the single highest-impact change (best_single_change). Pure local math — no network, no submission. Use this after diagnose_cascade to get actionable next steps, then use simulate_change to fine-tune before committing. Accepts the same input formats as rank_paste.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesToken pillars — ccusage JSON or "input output cacheCreate cacheRead" (same format as rank_paste).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
suggestionsNoRanked recommendations, highest Υ impact first
current_classNoCurrent class tier
current_yieldNoCurrent Υ before any changes
best_single_changeNoThe single highest-impact change
Behavior4/5

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

Annotations provide readOnlyHint, idempotentHint, and openWorldHint. The description adds 'Pure local math — no network, no submission' confirming no side effects, and describes the simulation process and output structure. No contradiction with annotations.

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?

The description is detailed but relatively concise for the complexity. It front-loads the core purpose ('Generates ranked... suggestions'), then lists strategies and return fields. Every sentence adds value, though a slight trimming of repetitive details could make it more efficient.

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?

Given the presence of annotations and an output schema, the description provides sufficient context: it explains the input format, simulation strategies, return structure (including best_single_change), and confirms no side effects. Complete enough for an AI agent to use correctly.

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% and already documents the 'text' parameter as 'Token pillars — ccusage JSON or...'. The description adds minimal extra value by cross-referencing rank_paste format, but this does not significantly enhance understanding beyond the schema.

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 uses the specific verb 'generates' and resource 'ranked...improvement suggestions' for a token cascade. It clearly distinguishes from sibling tools by specifying when to use (after diagnose_cascade, before simulate_change) and mentioning input format link to rank_paste.

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

Usage Guidelines5/5

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

Explicitly states 'Use this after diagnose_cascade to get actionable next steps, then use simulate_change to fine-tune before committing.' Also mentions it accepts same input as rank_paste, providing clear context and ordering with siblings.

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/SunrisesIllNeverSee/sigrank-mcp'

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