下载PDF报告
get_report_pdf用户登录授权后,为刚完成的record或已保存结果生成PDF。不自动保存结果。example仅用于接入示例。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | score_assessment返回的完整record,原样传回。 | |
| testId | Yes | 测评标识,如 mbti-four-preferences 或 shadow16 | |
| example | No |
get_report_pdf用户登录授权后,为刚完成的record或已保存结果生成PDF。不自动保存结果。example仅用于接入示例。
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | score_assessment返回的完整record,原样传回。 | |
| testId | Yes | 测评标识,如 mbti-four-preferences 或 shadow16 | |
| example | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false), so the bar is lower. The description adds genuinely useful context: an authorization requirement and the fact that the result is not auto-persisted. It does not, however, explain why this is not read-only or what the PDF response looks like.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences with the auth precondition and purpose front-loaded; there is little waste. It is terse to the point of under-specification rather than bloated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, so the description should describe the return (URL, base64, file path?), but it does not. It also leaves the record/testId input selection and nested-object requirements unexplained, which matters for a 3-parameter tool with a nested object.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 67%; 'record' and 'testId' are already documented. The description compensates by explaining the otherwise-undocumented 'example' flag ('only for integration examples') and by clarifying the record's origin. It still does not clarify the record-vs-testId relationship (testId required, record optional).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource (generate a PDF report) and distinguishes two input scenarios ('just-completed record' vs 'saved result'). It is clear what the tool produces, though it does not contrast itself against siblings like get_results or save_completed_result.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives a precondition ('after user login authorization') and two applicable scenarios, plus the note that results are not auto-saved. However, it never says when to prefer this over alternatives or how the record/testId inputs select the mode, leaving routing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.