Unverified50% confidenceSolutionExact time
在脚本中添加一个注解(annotation)即可为MCP服务器添加自定义工具,无需编写复杂的自定义逻辑
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
8/27/2026
First Seen
Valid until: 11/25/2026
Sources
Related Entities
Related Claims
VerifiedThe decorator @mcp.tool() automatically parses the function signature, parameter type annotations, and docstring at runtime to generate a tool description (Tool Schema) that conforms to the MCP specification.76% similarUnverifiedWhen creating scripts via MCP tools, assets refresh in real time and scripts compile immediately, without needing to manually trigger Unity's asset refresh process.74% similarPartially VerifiedMCP servers add tool definitions to the context window even when the user is not using those tools.74% similarUnverifiedMCP's design philosophy is full registration — tool descriptions from all servers are injected into the context all at once during session initialization.73% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/809773API
curl https://kongchang.com/api/v1/knowledge/claims/809773MCP
get_claim(id=809773)