Skip to main content
Glama

独行录 / opcmenu

上报追踪事件

track_event

【需要登录】上报一个追踪事件(点击 / 浏览 / 分享 / 下载 等)。targetType + targetId 决定目标对象,type 是动作。

【常见用法】当 agent 帮用户完成「分享某产品」「点开某主理人主页」时记一笔,让推荐算法更准。

【type 例】 view | click_link | share | download | follow

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description adds the auth requirement “需要登录” and explains the downstream effect (“让推荐算法更准”), which are useful beyond the annotations. It does not contradict the annotations, and for a simple event-reporting tool the safety profile is already covered by readOnlyHint=false, idempotentHint=false, and destructiveHint=false.

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?

The description is compact and well organized with three labeled sections:【需要登录】【常见用法】【type 例】. The core definition is front-loaded, and every sentence serves a purpose with no filler or repetition.

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 moderate-complexity tool with 4 parameters and no output schema, the description covers auth, usage context, parameter roles, and type examples. The main gap is that it does not describe the response or error behavior, but this is a fire-and-forget tracking event, so the provided context is largely sufficient.

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 baseline is 3. The description adds relationship semantics by stating “targetType + targetId 决定目标对象,type 是动作”, which clarifies how the parameters combine, and gives concrete type examples. This adds value beyond the individual schema descriptions, though metadata is not discussed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a concrete verb and resource: “上报一个追踪事件”, followed by specific event types (view/click_link/share/download/follow). The usage note “记一笔,让推荐算法更准” makes clear this is a telemetry/logging tool rather than the actual action tools like follow_creator or send_share_card, so it is well differentiated from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The【常见用法】section gives an explicit trigger: when the agent helps the user complete actions like sharing a product or opening a creator profile, record the event to improve recommendations. This is clear when-to-use guidance, but it does not state when not to use the tool or name alternative tools, so it stops short of a 5.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each tool has a clearly documented purpose, often with explicit 'when to use' guidance and cross-references, making the vast majority easy to tell apart. A few clusters (get_my_brief, get_my_positioning, get_my_work, get_my_dispatch) and data-overlapping get_my_card vs get_my_profile require careful reading, but descriptions are detailed enough to prevent serious misselection.

Naming Consistency4/5

The overwhelming majority follow snake_case verb_noun conventions (create_product, update_need, list_my_signups). Minor deviations include noun-only feed names (personalized_feed, random_feed), inconsistency between 'prefs' and 'preferences' in notification tools, and a mix of update_* and set_* for mutations, but the pattern remains predictable overall.

Tool Count1/5

137 tools is an extreme mismatch for any MCP server, far exceeding the 50+ threshold for a score of 1. Even with a broad multi-domain platform, this volume makes tool selection and navigation impractical and heavily burdens the agent's context window.

Completeness5/5

The surface covers full lifecycles for needs, products, activities/signups, conversations, collaboration goals/tasks, dispatch, profile/onboarding, and supporting resources like companies, parks, policies, and ratings. Deliberate omissions (no user-post creation, no organizer profile editing via agent) are explicitly documented, so core workflows have no obvious dead ends.

Resources