Skip to main content
Glama

Track

track

Upsert time-series metric data by metric and timestamp in one batch; send all points at once to receive written and replaced counts.

Instructions

Upsert by metric+ts; written/replaced counts. Free reads last 90d by point ts; send all points at once.

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

Input Schema

NameRequiredDescriptionDefault
tagsNo
valueNoSingle live point (not with points[]/csv/json).
metricYes
pointsNoAll points in one call; do not batch across track calls.
points_csvNoCSV with header ts,value[,tag cols]; ts ISO-8601 or Unix. One of points[]/csv/json only.
points_jsonNoJSON array string [{value, ts?, tags?}]. One of points[]/csv/json only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key behavior: writes are upserts keyed by metric+ts (so existing points can be replaced), the response distinguishes written vs replaced counts, and free-tier reads are bounded to the last 90 days. Still absent are auth/permission requirements, per-call point limits, and failure modes, which matter for a mutation tool.

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?

Two short clauses with zero filler, but they are grammatical fragments ('written/replaced counts') that require re-parsing, and the write semantics and retention note are compressed together without clear separation. Efficient in length, weaker in readability.

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 6-parameter nested tool with no annotations and no output schema, the description covers the essentials — write semantics, dedup key, response counts, retention, batching discipline. It stops short of point-count limits, tag handling, and error behavior, leaving meaningful gaps for a mutating ingest endpoint.

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 coverage is 67%, so the schema already documents value, points[], points_csv, and points_json. The description adds one genuinely new fact — that metric+ts forms the upsert key, which explains why ts appears on points — but says nothing about tags semantics or the mutual exclusivity of the three point payload forms beyond what the schema states.

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 opening fragment 'Upsert by metric+ts' names both the operation (upsert) and the identity key (metric+timestamp), which is more than a restatement of the name 'track'. An agent can tell this writes time-series points rather than reading them. However, the phrasing is telegraphic and never explicitly names a sibling like query or insight as the read-path alternative.

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

Usage Guidelines3/5

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

'send all points at once' and 'Free reads last 90d by point ts' give real constraints on how to call it (batch everything in one call; only recent reads are free). What is missing is any explicit statement of when to choose this tool over query, chart, or insight — the agent must infer that this is the write path while the siblings read.

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