Skip to main content
Glama

Keep a reading on Insights

add_insights_card
Idempotent

Add a card to the person's Insights page in Kove, after they agree: a trend, a summary, a calendar, a comparison, their foods, or a split (a pattern from find_patterns, by the same words, field, weekdays or lag). Kove draws and recomputes it from their record; it stays until they remove it.

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": {
      "idempotency_key": "<idempotency_key>",
      "kind": "<kind>"
    },
    "name": "add_insights_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
lagNosplit: as in find_patterns.
kindYessplit: days with a marker against the rest; compare: this stretch against the one before.
mealNofoods: one meal only.
fieldNocalendar, compare, or the field a split divides the days by.
wordsNosplit: as in find_patterns.
fieldsNotrend and summary: the fields, by name.
metricNoWith exercise: which reading.
exerciseNotrend or compare of an exercise instead of a field.
weekdaysNosplit: as in find_patterns.
idempotency_keyYesA new random string per write (8-128 of A-Z a-z 0-9 - _ . :); send the same one to retry, never a new one.

Output Schema

NameRequiredDescriptionDefault
dateYes
writtenYes
replayedNo
write_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare write-but-non-destructive, idempotent, closed-world behavior, so the description's job is lighter. It still adds genuinely new facts: Kove draws and recomputes the card from the person's record (server-side computation, values stay current), and the card persists until the person removes it. It does not mention auth/scope requirements or failure modes, but the persistence and recompute semantics are the important behavioral traits here.

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?

Two sentences, zero filler, with the core action and the consent gate front-loaded before the enumeration of kinds. The parenthetical enumerating split arguments is dense but earns its place; the six-kind list is slightly run-on but still scannable.

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

Completeness4/5

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

For a 10-parameter tool with six conditional kinds, the definition covers the two things the schema cannot: the consent precondition and the fact that the card is recomputed and persistent. An output schema exists, so return values need not be described, and per-kind parameter mapping is handled in the schema descriptions. Only the absence of guidance on the non-split kinds' purpose keeps this below 5.

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 100% and each property already carries a per-kind note ("split: as in find_patterns," "calendar, compare, or the field a split divides the days by"), so the baseline is 3. The description does add one useful cross-tool link — split arguments are the same words, field, weekdays or lag that find_patterns returned — but leaves metric/exercise, meal, and fields entirely to the schema.

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?

Specific verb and resource: "Add a card to the person's Insights page in Kove," followed by the six card kinds (trend, summary, calendar, comparison, foods, split), so the agent knows exactly what gets created. It is distinguishable from read-oriented siblings like get_overview or summarize because it writes a persistent artifact, though it never explicitly names a sibling it should not be confused with.

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?

There is a real precondition — "after they agree" — which tells the agent this is consent-gated rather than something to do autonomously, and the split case points at find_patterns as the source of its arguments. However, there is no explicit when-not guidance or stated alternative for the non-split cases (e.g. when to prefer summarize or get_overview instead of pinning a card).

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.