Skip to main content
Glama

raw_backlog

Reports the number of raw memory entries awaiting archiving so scheduled tasks and alerts can detect backlog before consolidation.

Instructions

报告待归档的原文条数(计划任务与告警用)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "raw_backlog"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. Reporting a count implies a read-only, side-effect-free operation and the text does convey that the output is a quantity, but nothing is said about cost, permissions, or whether counting is expensive on a large backlog.

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?

One short sentence, front-loaded with the returned quantity followed by the caller context in parentheses. Nothing is wasted for a tool this simple.

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

Completeness3/5

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

For a trivial read-only counter with no output schema and no required parameters, the description covers what is returned and roughly who calls it. The unexplained 'days' parameter is the one real gap preventing fully correct invocation.

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 0% for the single optional 'days' parameter, and the description never mentions it. An agent cannot tell whether 'days' is a look-back window, an age threshold, or something else, so the low-coverage gap is not compensated.

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 states a specific result — the count of raw texts awaiting archiving (「报告待归档的原文条数」) — which distinguishes it from sibling mutation tools raw_archive and raw_purge. It is clear what the tool returns, though it never names which sibling to use instead when the agent actually wants to archive or purge.

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?

「计划任务与告警用」(for scheduled jobs and alerts) gives an implied caller context, so an agent knows this is meant for automated monitoring rather than interactive querying. However there are no explicit when-not conditions and no routing to alternatives such as raw_archive once the backlog is confirmed.

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