Skip to main content
Glama
qianji-mcp-server

qianji-mcp-server

qianji_get_write

Read-only

Query a single write or pending-settlement receipt by request ID; if the status is unknown, trigger a read-back check to confirm the result.

Instructions

用操作键查询单笔写入或待结算小票。未知状态触发回读核对。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "requestId": "<requestId>"
    },
    "name": "qianji_get_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYes

Output Schema

NameRequiredDescriptionDefault
billNo
billIdNo目录或查询结果给出的数字字符串 ID
statusYes
messageNo
summaryYes
nextCallNo
replayedYes
createdAtYes
requestIdYes
verificationNo
changedFieldsNo
accountCurrencyNo
originalReceiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond that: an unknown status triggers a read-back reconciliation. It says nothing about not-found behavior or latency from that read-back, so the added context is real but thin.

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

Conciseness4/5

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

Two short sentences, front-loaded with the lookup purpose and followed by the one behavioral caveat. Nothing is padded, though the second sentence is terse to the point of being cryptic without context.

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?

An output schema exists, so return values need not be explained. For a simple read-only single-record lookup, the description covers purpose and one edge behavior, but leaves out not-found handling and any differentiation from the list/stats siblings.

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

Parameters3/5

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

Schema coverage is 0%, so the description must carry the meaning of requestId, and it partially does by calling it an 'operation key' for the write. It does not explain the allowed character pattern, the 120-character limit, or whether the key comes from a prior create call. With one parameter the burden is small, so this is adequate rather than rich.

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 gives a specific verb and resource: query a single write entry or pending-settlement receipt by operation key. The word 'single' implicitly separates it from qianji_list_writes, though no sibling is named. An agent can tell what it retrieves, just not precisely how it differs from the list variant.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative; the agent must infer that this is the single-record counterpart to qianji_list_writes. The second sentence describes internal behavior (read-back on unknown status), not when a caller should choose this tool over another.

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