Skip to main content
Glama

Track event lifecycle

track-event-lifecycle

Internal tool for widget lifecycle telemetry.

Input 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.
download_shownNoTrue when this mount showed the Download button.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / download_shown
      Added value: +{
      +  "description": "True when this mount showed the Download button.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / item_type / enum
      Previous value: -[
      -  "quick_action",
      -  "spotlight_prompt",
      -  "category_card",
      -  "ask_canva"
      -]New value: +[
      +  "quick_action",
      +  "spotlight_prompt",
      +  "category_card",
      +  "ask_canva",
      +  "download",
      +  "edit_in_canva",
      +  "check_again",
      +  "open_projects",
      +  "upgrade",
      +  "plan_settings"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / print_shown
      Added value: +{
      +  "description": "True when this mount showed the Order Prints button.",
      +  "type": "boolean"
      +}
  3. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is covered structurally. Beyond that the description adds almost nothing: it does not say whether events are fire-and-forget, whether ordering matters, whether failures should be retried, or how the 10 parameters combine into a valid lifecycle event. For a mutation-ish telemetry tool, that is a real gap even with annotations present.

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?

The single sentence is front-loaded and free of filler, so nothing needs cutting. Brevity here is not the problem; the deficit is elsewhere.

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?

A 10-parameter telemetry tool with no output schema needs its description to explain what the event types mean and what constitutes a well-formed call, and this one says none of that. The rich schema partially compensates on field formats, but an agent still cannot confidently determine whether or how to invoke this tool from the description alone.

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 90%, so the schema already documents nearly every field, including enums for item_type and event_type and omit-when-no-job guidance. The description adds no parameter information at all, but baseline 3 applies when the schema does the heavy lifting; the undescribed required event_type is a small residual gap.

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 phrase 'widget lifecycle telemetry' identifies the domain, and 'Internal tool' qualifies its audience, but there is no concrete verb describing what actually happens (record? emit? report?). An agent cannot tell from the text whether this writes an event, queries one, or something else, though the title and name hint at it.

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 statement of when an agent should call this, under what circumstances, or how it relates to the ~50 sibling design tools. 'Internal tool' implies it may not be intended for general agent use, but that implication is never made explicit, so invocation timing is left entirely to inference.

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