Skip to main content
Glama

rsi_impact

Generates an impact panel for adoption reporting: injection cost, recall value, behavioral gains, time trends, and an A/B token-savings calculator using user-supplied data; exports a markdown report.

Instructions

Value/impact panel for evangelism: injected cost (chars + est tokens), recall value (hit rate + on-demand exposure vs full corpus), behavioral gains (adoption, compliance, proposal pass), a time curve, and an A/B token-savings calculator. Honesty: RSI cannot see the host's real token usage, so 'tokens saved' is ONLY produced from a user-supplied before/after comparison (ab={baseline:{tokens,tasks},treatment:{tokens,tasks}}); without it no savings number is invented. export=true writes a one-page markdown to ~/.rsi/exports/. 价值/影响力面板(供宣讲):注入成本(字符+token 估算)、召回价值(命中率与按需暴露 vs 全库)、行为收益(采纳/合规/提案通过率)、时间曲线,以及一个 A/B 省 token 计算器。诚实原则:RSI 看不到宿主真实 token 用量,‘省了多少’只在用户喂入用前/用后对照(ab 参数)时才产出,否则不编造任何省量;export=true 导出一页纸 markdown。

Input Schema

NameRequiredDescriptionDefault
abNo用前/用后对照输入(数字来自宿主自己报的 token 用量,本工具只做差,不估算)
exportNotrue 时导出一页纸 markdown 到 ~/.rsi/exports/ 并返回路径
periodNo统计窗口(默认 week)
snapshotNotrue 时顺带把当前窗口聚合落一条日快照(攒长期曲线)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it explicitly warns that RSI cannot see real host token usage and that a savings number is only produced when ab is supplied, and it discloses that export=true writes a markdown file to ~/.rsi/exports/. It omits one notable side effect — the snapshot flag persisting a daily aggregate — which is only disclosed in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded and the honesty constraint is well placed, but the entire text is duplicated verbatim in Chinese, roughly doubling length for an English-reading agent without adding information. Redundancy costs it points even though no individual sentence is wasted.

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?

For a 4-parameter, dependency-free reporting tool with no output schema, the definition covers the main inputs and the key limitation. The remaining gap is that the return payload's shape (what the 'panel' actually looks like) is only gestured at, and snapshot behavior is delegated entirely to the schema.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3; the description goes beyond it by spelling out the nested ab shape (baseline/treatment with tokens and tasks) and, more importantly, the precondition that numbers must come from the host's own reported usage rather than being estimated. period and snapshot are left to the schema.

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?

It names a concrete deliverable — a value/impact panel composed of cost, recall value, behavioral gains, a time curve, and an A/B calculator — so an agent knows exactly what it produces. It does not, however, distinguish itself from the sibling rsi_stats, which plausibly also returns statistics, leaving overlap ambiguous.

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 phrase 'for evangelism' and 'a one-page markdown' imply the presentation/reporting scenario, and the ab condition is stated precisely. But there is no explicit when-not-to-use or routing versus rsi_stats / rsi_memory_health, so selection among siblings is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.