Skip to main content
Glama
Nyantify

Nyantify

Official
by ArtrixTech

track

Start and end each user message processing to measure task duration and notify users by iPhone when long AI tasks finish.

Instructions

REQUIRED: Call this at the START and END of processing EVERY user message to track task duration and notify the user when long tasks complete.

IMPORTANT CLARIFICATION:

  • This tracks EACH user message processing, NOT the entire multi-turn conversation

  • Every time the user sends a message, you must call track(action="start") at the beginning and track(action="end") at the end

WHEN TO CALL:

  • action="start": IMMEDIATELY when the user sends a message, BEFORE you start processing it

  • action="end": RIGHT AFTER you finish your response to that message

WHY THIS MATTERS: Without tracking each message processing, the user won't receive iPhone notifications when AI tasks complete. They may:

  • Waste time staring at the screen waiting

  • Forget to check back and abandon tasks

  • Not know if the task succeeded or failed

WORKFLOW FOR EACH USER MESSAGE:

  1. User sends a message

  2. Call track({action: "start", task_id: "msg-YYYYMMDD-NNN", task_name: "brief description"})

  3. Process the request and generate your response

  4. Call track({action: "end", task_id: "msg-YYYYMMDD-NNN"})

  5. Send your response to the user

NOTIFICATION LOGIC:

  • If message processing >60 seconds AND user left IDE → Sends iPhone notification

  • Otherwise → Silent completion (no notification needed)

EXAMPLE: User: "Refactor the auth module" → track({action: "start", task_id: "msg-2024-01-28-001", task_name: "Refactoring authentication module"}) → Process and generate response → track({action: "end", task_id: "msg-2024-01-28-001"}) → Send response to user

⚠️ NEVER skip this tool. Call it for EVERY user message you process. User relies on notifications for long-running tasks.

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": {
      "action": "<action>",
      "task_id": "<task_id>"
    },
    "name": "track"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesUse "start" at conversation begin, "end" at conversation finish
task_idYesUnique conversation ID (use format: chat-YYYYMMDD-NNN)
task_nameNoBrief description of what this conversation is about (required when action=start)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful behavior the schema does not: notifications only fire when processing exceeds 60 seconds AND the user has left the IDE, otherwise completion is silent. It says nothing about return values, failure modes, or whether a missing start invalidates an end call.

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

Conciseness2/5

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

The workflow, notification rule, and example are each restated across separate headed sections, and the imperative framing ("REQUIRED", "NEVER skip this tool", warning emoji) adds length without informational content. The essential facts could be conveyed in a third of the text.

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 three-parameter tool with no output schema, the description does cover the full lifecycle including when notifications trigger and a worked example. Gaps remain around the sibling alternative, error handling, and the task_id format conflict, so it is adequate rather than complete.

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

Parameters2/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, but the description actively conflicts with the schema: it instructs task_id in the form "msg-YYYYMMDD-NNN" while the schema specifies "chat-YYYYMMDD-NNN". Conflicting parameter guidance is worse than silence because it can produce inconsistent identifiers that fail to pair start with end.

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 first sentence states a concrete verb and resource: it records start/end markers per user message to measure task duration and trigger completion notifications. The purpose is unambiguous, but it never distinguishes itself from the sibling direct_notify, so an agent cannot tell which notification path to prefer.

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?

Timing is spelled out precisely (start immediately before processing, end immediately after the response), which removes most inference. However, there is no when-not guidance and no mention of the alternative direct_notify tool, so the routing decision between the two is left to the agent.

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

Deploy Server

Other Tools