Skip to main content
Glama
Zifu Memory
by tanbopiao

zifu_facts

List facts from the ledger, filtered by status (active, replaced, or retired), to review contract-governed memories and their current state; omit status to return all entries.

Instructions

列事实账本(status: active/replaced/retired,缺省全部)。

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": "zifu_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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; it does disclose that the tool is a listing operation and that the filter defaults to all statuses rather than requiring explicit selection. It says nothing about ordering, pagination, or result volume, which matter for an unbounded ledger listing.

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?

A single compact sentence with the resource first and the parameter semantics tucked into a parenthetical. Nothing is wasted and the essential information is front-loaded.

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 one-parameter listing tool with an output schema, the description covers purpose and the only parameter's valid values and default. Ordering and result-size behavior are the remaining gaps, but they are minor at this complexity.

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 0% and the schema declares no enum, so the description supplies the meaningful information itself: the three valid status values and the default of returning all records. That is real added meaning beyond the schema, though it does not say whether matching is exact or case-sensitive.

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 definition uses a specific verb and resource ("列事实账本" — list the facts ledger), so an agent knows exactly what it retrieves. It does not distinguish itself from sibling read/list tools such as zifu_events, zifu_state, or zifu_view, which is the only reason it falls short of a 5.

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?

Usage is only implied: the parenthetical shows the status filter and that omitting it returns everything, which tells the agent how to call it. There is no statement of when to prefer this ledger over the sibling tools, no prerequisites, and no exclusions.

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