Skip to main content
Glama

Track event lifecycle

track-event-lifecycle

Internal tool for widget lifecycle telemetry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idNoJob the widget was polling. Omit when the mount had no job.
item_idNoStable slug from widget config, never free text.
item_typeNoKind of item that was clicked.
event_typeYes
job_statusNoWhat the widget displayed. Omit when the widget has no job.
print_shownNoTrue when this mount showed the Order Prints button.
user_intentNoMandatory description of what the user is trying to accomplish with this tool call. This should always be provided by LLM clients. Please keep it concise (255 characters or less recommended).
widget_nameNoWire name of the widget that rendered, e.g. "create-design".
event_payloadNoJSON encoded lifecycle event payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / print_shown
      Added value: +{
      +  "description": "True when this mount showed the Order Prints button.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is known. The description only adds that the writes are 'telemetry' about 'widget lifecycle' — no detail on side effects, permissions, ordering, or whether events are append-only. It does not contradict the annotations, but it adds little beyond them.

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?

A single front-loaded sentence with zero padding or redundancy, so there is nothing to trim. However, one terse sentence is arguably undersized for a nine-parameter telemetry tool, so it sits at adequate rather than strong.

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

Completeness2/5

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

For a nine-parameter, three-enum event-tracking tool with no output schema, the description omits the lifecycle semantics it promises — what the three event types mean, ordering expectations, and the role of user_intent and event_payload. The rich schema covers field-level meaning, but the agent gets no conceptual frame for the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 89%, so the schema already documents nearly all nine parameters, including the enums for event_type and item_type. The description adds no parameter-level information at all, which is acceptable given the high coverage — baseline 3.

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

Purpose2/5

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

The description largely restates the name and title: 'track-event-lifecycle' becomes 'widget lifecycle telemetry.' The only added signal is the noun 'widget' and the word 'internal,' which narrows the domain slightly but does not state a concrete verb+resource action or distinguish it from anything.

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?

There is no when-to-use guidance, no preconditions, and no mention of alternatives among the ~48 sibling tools. The phrase 'Internal tool' is a faint hint that this is not for general client use, but it does not tell an agent when to invoke it versus, say, generate-design or get-design.

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