Skip to main content
Glama

marrow_model_usage

Record compact model token usage for value proof. Capture input, output, cached, and total tokens, cost, latency, and provider details while excluding sensitive content.

Instructions

Record compact model token usage for value proof. Use when the harness exposes provider/model token counts. Do not send raw prompts, completions, tool logs, secrets, or customer content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel name.
successNo
cost_usdNo
providerNoModel provider, e.g. openai, anthropic, google, xai, qwen, deepseek.
task_typeNo
latency_msNo
action_typeNo
decision_idNo
workflow_idNo
input_tokensNo
total_tokensNo
cached_tokensNo
output_tokensNo
marrow_interventionNoruntime_gate, risk_gate, prior_lesson, proof_pack, before_you_act, fleet_lesson, or other compact reason.
estimated_tokens_savedNo
estimated_minutes_savedNo
estimated_cost_saved_usdNo
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It does disclose an important behavioral constraint: the tool must not receive raw prompts or sensitive content. However, it does not mention side effects, persistence, idempotency, or what the tool returns, leaving significant behavioral gaps.

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 extremely concise: two sentences, front-loaded with the main action and usage context. The safety instruction is essential and earns its place. No filler or repetition.

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

Completeness2/5

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

With 17 parameters, no output schema, and no annotations, this description is underspecified. It gives the tool's general purpose but doesn't explain how to populate the many optional fields (e.g., cost_usd, latency_ms, estimated_tokens_saved) or what the recorded data is used for. It is minimally viable but lacks operational detail.

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

Parameters2/5

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

Schema description coverage is only 18%, and the description does little to compensate. It mentions 'model token usage' and 'value proof,' which hints at the token and cost parameters, but 17 parameters are mostly undocumented, and their meanings must be inferred from names alone.

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 opens with the specific verb 'Record' and a clear object: 'compact model token usage for value proof.' This distinguishes it from siblings like marrow_value_report, which implies reporting rather than recording.

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

Usage Guidelines4/5

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

Explicitly states when to use the tool: 'Use when the harness exposes provider/model token counts.' It also provides an exclusion by saying 'Do not send raw prompts, completions, tool logs, secrets, or customer content.' It does not name alternative tools, but the context is clear.

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/getmarrow/marrow-mcp'

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