Skip to main content
Glama
Kingdee MCP Unified

Kingdee MCP Unified

by sclyxnet

kingdee_view_production_order

Read-onlyIdempotent

Fetches full production order (PRD_MO) details by internal bill ID, with summary mode trimming linked fields to Id/Number/Name or full mode for raw JSON.

Instructions

查看生产订单(PRD_MO)完整详情。

必填参数:

  • form_id: "PRD_MO"

  • bill_id: 单据内码 FID

mode=summary(默认):关联字段只保留 Id / Number / Name,缩减体积;mode=full 返回原始 JSON。

Returns: str: JSON 格式的生产订单完整数据

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": {
      "params": "<params>"
    },
    "name": "kingdee_view_production_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.11

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond them: mode=summary strips linked fields down to Id/Number/Name to shrink payload size, while mode=full returns the raw JSON — a real trade-off the agent can reason about. It stops short of describing error behavior or any size 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?

Front-loaded with the purpose, then a short required-parameter block, then the mode contrast. Every line carries usable information and there is no filler; the trailing Returns line is the only mildly redundant element given a dedicated output schema exists.

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 single-parameter read tool with an output schema and full annotation coverage, the definition covers what an agent needs: the fixed form type, how to obtain the bill id, and the payload-shape trade-off. Only failure modes (invalid FID, missing bill) and any size caveats for mode=full are absent, which are minor for a read-only viewer.

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?

Although reported schema coverage is 0%, the description supplies the semantics the schema lacks: form_id must be the literal "PRD_MO", bill_id is the internal FID, and mode's two values are explained with their concrete effects on linked fields. The mode explanation largely duplicates the schema's own property description, which keeps it from a 5, but the fixed form_id value is information available nowhere else.

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 verb and resource: viewing the full detail of a production order, pinned to the concrete form type PRD_MO. That makes it distinguishable from the generic kingdee_view_bill sibling, though it never names that sibling explicitly, so sibling differentiation is implicit rather than stated.

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 implied rather than prescribed: the description tells the agent the required parameters and their exact values, and that mode=summary is the default, which is enough to invoke it correctly. It never says when to prefer this tool over kingdee_view_bill or when not to use it, and gives no exclusions or preconditions (e.g., whether the bill must exist or be in a specific state).

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

Deploy Server

Other Tools