Skip to main content
Glama

独行录 / opcmenu

上报追踪事件

track_event

【需要登录】记录agent代办的浏览/点击/分享/下载/关注事件;type为动作,targetType+targetId为对象,用于推荐。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes事件类型,例 view/click_link/share/follow
metadataNo附加 metadata,自由字段
targetIdYes目标对象 id
targetTypeYes目标对象类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false). The description adds two things annotations cannot: the authentication requirement ('需要登录') and the behavioral consequence that the recorded data feeds recommendations, which tells the agent the write has a durable, user-visible effect.

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?

A single dense sentence front-loads the login prerequisite and then the action/object model with no filler. It is slightly run-on due to the semicolon-joined clauses, but every clause carries information.

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 non-idempotent, open-world event-logging mutation with no output schema, the description covers the essentials: auth requirement, what is recorded, the parameter model, and the downstream effect on recommendations. Only the absence of any return-shape or error expectation keeps it short of fully complete.

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?

Schema coverage is 100%, so the 3 baseline applies, and the description goes beyond it by explaining how the required parameters compose: type is the action while targetType+targetId jointly identify the object. That relational semantics is not stated in the per-parameter schema text. It does not mention the free-form metadata field, so a perfect score is withheld.

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+resource: recording browse/click/share/download/follow events that the agent performed on a user's behalf, plus the downstream purpose (recommendations). It is clearly distinguishable in kind from the hundreds of create/get/update siblings (none of which log behavioral events), though it does not name any sibling it must not be confused with.

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 only implied: the agent records events it brokered, and '【需要登录】' signals a login prerequisite. There is no explicit when-to-use/when-not guidance, nor any statement of the relationship to siblings such as follow_product, like_moment, or list_recent_attention, so the agent must infer the boundary itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources