Skip to main content
Glama

chimera_cache_mark

Mark stable text blocks as cacheable with cache_control: ephemeral to reduce token costs by up to 90% per turn. Meets model-specific minimum size thresholds.

Instructions

Build Anthropic prompt-cache markers for stable text blocks (system prompt, CLAUDE.md, tool defs, fixtures). Returns blocks ready to drop into the SDK system array with cache_control: ephemeral on blocks that meet the model's minimum cacheable size. Lossless — beats any compression on bytes that recur every turn (75-90% off cached tokens).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blocksYesList of {name, text, stable} objects in send order. stable=true (default) makes the block eligible for caching.
modelNoTarget model id (claude-sonnet-4-6, claude-opus-4-7, claude-haiku-4-5). Used to pick the per-model min cacheable token threshold.claude-sonnet-4-6
max_breakpointsNoMax number of cache_control breakpoints to use (Anthropic limit is 4).
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool is lossless, adds cache markers to returned blocks, and returns blocks ready for the SDK system array. It could mention idempotency or side effects, but it is fairly transparent.

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 three sentences and front-loaded with the primary action. Every sentence adds value—purpose, return format, and benefit—earning its place without verbosity.

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?

Despite having no output schema, the description explains what the tool returns (blocks with cache_control) and the key parameter behavior. It covers the essential use case and benefits, though it could briefly explain the internal caching mechanism.

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%, and the description adds minimal extra meaning beyond the schema (e.g., clarifies that stable=true makes a block eligible for caching). Baseline 3 is appropriate as the schema already documents parameters well.

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 tool's purpose: 'Build Anthropic prompt-cache markers for stable text blocks' with a specific verb and resource. It differentiates from siblings by focusing on caching markers for stable text, which is distinct among many chimera 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 description implies the tool is for stable text blocks that recur every turn, noting 75-90% token savings. However, it does not explicitly state when not to use it or name alternative tools, leaving usage guidance somewhat implicit.

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/fernandogarzaaa/chimeralang-mcp'

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