上报追踪事件
track_event登录;记录agent代办的浏览/点击/分享/下载/关注事件;type为动作,targetType+targetId为对象,用于推荐。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 事件类型,例 view/click_link/share/follow | |
| metadata | No | 附加 metadata,自由字段 | |
| targetId | Yes | 目标对象 id | |
| targetType | Yes | 目标对象类型 |
track_event登录;记录agent代办的浏览/点击/分享/下载/关注事件;type为动作,targetType+targetId为对象,用于推荐。
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 事件类型,例 view/click_link/share/follow | |
| metadata | No | 附加 metadata,自由字段 | |
| targetId | Yes | 目标对象 id | |
| targetType | Yes | 目标对象类型 |
Changes observed during successful MCP inspections.
Input schema / properties / metadata / descriptionPrevious value: -"附加 metadata,自由字段"New value: +"附加 metadata,自由字段"Input schema / properties / type / descriptionPrevious value: -"事件类型,例 view/click_link/share/follow"New value: +"事件类型,例 view/click_link/share/follow"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only declare destructiveHint=false. The description usefully adds the authentication requirement (登录) and the fact that events feed recommendation logic, which the annotations do not convey. It says nothing about deduplication, whether repeated events are counted, or any rate limits, which matter for an analytics-style write.
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?
One compact sentence set with the auth prerequisite and purpose front-loaded; no filler. The semicolon-chained fragments are terse but readable, so minor polish is the only gap.
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?
Covers the core contract but omits the free-form metadata object entirely, which is the only unconstrained parameter and the one most likely to be misused. With no output schema and low annotation depth, the description should say more about what metadata is for and what happens on success.
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 description coverage is 100%, so baseline is 3. The description restates the type/targetType+targetId pairing as action-versus-object, which reinforces the relationship but adds little beyond the schema field descriptions. The metadata parameter is never mentioned in the description.
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?
States a specific verb and resource: recording events (view/click/share/download/follow) that an agent performs on the user's behalf, plus the downstream purpose of recommendation. Among the many siblings, nothing names an alternative tool, so the differentiation is only implicit in the verb choice.
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?
Implies when to use it: when the agent acts on content and the event should feed recommendations. There is no explicit exclusion, no guidance about how often to call it, and no mention of the related follow/like/comment endpoints that also mutate engagement state.
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.