Skip to main content
Glama

list_claims

Lists recorded claims and their sources, with optional keyword filtering, so you can confirm available evidence before building a roadmap or check where a recommendation came from.

Instructions

列出已记录的结论引用,可按关键词过滤。

何时调用:生成路线图前确认有哪些证据可引用;用户问「这条依据哪来的」时核对来源。

Args: query: 可选关键词,匹配结论内容、来源名称与适用范围。

Returns: JSON:结论列表与总数;没有记录时给出 record_claim 提示。

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

Input Schema

NameRequiredDescriptionDefault
queryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load: it establishes this is a read/list operation, states the return shape (claim list plus total), and discloses empty-state behavior (a record_claim hint instead of a bare empty list) — useful behavior an agent could not infer otherwise. It does not mention permissions, ordering, or result limits.

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?

Content is front-loaded into purpose, then when-to-call, then Args and Returns, in a compact block with no filler sentences.

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?

An output schema exists, so return values need not be detailed, yet the description adds the one non-obvious runtime behavior (empty-result hint). For a single-optional-param read tool this is essentially complete; only ordering and result-size behavior are unstated.

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 coverage is 0% and the schema only labels the field "Query" with a default, so the description must compensate — and it does, stating that query is optional and matches claim content, source name, and applicability scope. It adds no matching semantics (substring vs. exact, case sensitivity) but the meaning gap is largely closed.

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 a specific verb+resource ("列出已记录的结论引用") and adds the filterability constraint, so an agent can tell it apart from the write-side sibling record_claim without opening either schema.

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?

It names two concrete triggers — checking citable evidence before generating a roadmap, and tracing a claim's source when the user asks — which is real when-to-use guidance. It stops short of explicit when-not conditions or a direct pointer that adding claims belongs to record_claim, which it only hints at via the empty-result behavior.

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