Skip to main content
Glama

独行录 / opcmenu

上报追踪事件

track_event

登录;记录代办view/click/share/download/follow;type动作、targetType/targetId对象,供推荐。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>",
      "targetType": "<targetType>",
      "targetId": "<targetId>"
    },
    "name": "track_event"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / metadata / description
      Previous value: -"附加 metadata,自由字段"New value: +"附加 metadata,自由字段"
    • changedInput schema / properties / type / description
      Previous value: -"事件类型,例 view/click_link/share/follow"New value: +"事件类型,例 view/click_link/share/follow"
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description carries most of the burden. It does add real context — that logged-in state is required and that the recorded events feed a recommendation system ('供推荐'), implying analytics side effects rather than user-visible changes. It does not say whether the call is fire-and-forget, whether failures matter, or whether duplicate events are accepted, which leaves meaningful behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very short with no wasted sentences, but the semicolon-delimited fragments and mixed Chinese/English tokens make it read like a developer note. It is compact but not clearly front-loaded, since the actual purpose ('for recommendations') is buried in the trailing fragment.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-risk analytics-event tool with full schema coverage and no output schema, the essentials are covered. Gaps remain: the nested free-form 'metadata' object is never addressed in the description, and there is no statement about what the call returns or how errors on invalid event types are handled.

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 description coverage is 100%, so the schema already documents all four parameters including the targetType enum. The description adds a bit of framing by mapping 'type' to the action and 'targetType/targetId' to the object being acted on, which clarifies how the parameters combine. It adds no enum values or format constraints beyond the schema, so it is modestly above the baseline rather than rich.

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

Purpose3/5

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

The description names a record/emit action ('记录') and lists the concrete event kinds (view/click/share/download/follow), so the resource is inferable from the tool name plus the listed verbs. However it never states plainly 'records a tracking/analytics event', uses telegraphic fragments, and gives no differentiation from any of the many sibling tools.

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

Usage Guidelines2/5

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

The only usage hint is the leading '登录' (login/authenticated), which implies prerequisites but is ambiguous in context. There is no statement of when to call this versus not calling it, no mention of deduplication or frequency, and no alternatives named.

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