Skip to main content
Glama

llm_digest

Generate a savings summary for any period, detect spend spikes, and simulate costs without the router. Optionally send the digest to a webhook.

Instructions

Generate a savings digest and optionally send it to a webhook.

Formats a savings summary for the given period. Also detects spend spikes and shows a "what if router was off?" simulation.

Args: period: "today", "week", "month", or "all time". send: If True, POST the digest to LLM_ROUTER_WEBHOOK_URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoweek
sendNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description clearly explains the tool's actions: generating a digest, detecting spikes, simulation, and optional send to webhook. It does not mention permissions or rate limits, but the main behavioral traits are covered.

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 concise with a front-loaded summary followed by essential details. Every sentence adds value, no fluff.

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

Completeness5/5

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

Given the tool's low complexity (2 optional params) and the presence of an output schema, the description covers all necessary functionality: what the digest contains, optional actions, and parameter specifics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% coverage, but the description fully explains both parameters: period with examples ('today','week','month','all time') and send with the consequence (POST to webhook if True). This compensates completely.

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?

The description clearly states the tool generates a savings digest and optionally sends it to a webhook. It provides specific details like detecting spend spikes and a simulation. However, it does not explicitly distinguish from sibling tools like llm_savings.

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 when to use (to get a digest) but doesn't explicitly state when not to use or suggest alternatives. It provides parameter context but lacks comparative guidance.

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/ypollak2/llm-router'

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