Skip to main content
Glama

skill_record

Records usage telemetry for mirrored skills, including use, view, patch, create, and outcome signals, so the curator can decide what to archive or prune.

Instructions

Record usage telemetry for a mirrored skill.

kind: 'use' | 'view' | 'patch' | 'create'. Bumps the corresponding counter + timestamp in skill_usage. The curator reads these to decide what to archive.

Fixtures require include_fixtures=True for dedicated test telemetry and emit separate skill_fixture_* events rather than production-use events.

outcome (optional, meaningful with kind='use'): 'helped' | 'partial' | 'wrong'. When set, also emits an events.kind='skill_outcome' row so the curator can identify skills that fire often but consistently give 'wrong' verdicts — those are false-positive candidates to PRUNE.

The 'wrong' outcome is the primary signal an agent has to say "I consulted this skill, it didn't actually apply / was misleading; please patch or delete next curator pass." Don't be shy about marking 'wrong' — better a curated library than a polluted one.

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

Input Schema

NameRequiredDescriptionDefault
kindNouse
nameYes
outcomeNo
include_fixturesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.26.0
    • addedInput schema / properties / include_fixtures
      Added value: +{
      +  "default": false,
      +  "title": "Include Fixtures",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false), the description discloses the exact mutation ('Bumps the corresponding counter + timestamp in skill_usage'), the downstream consumer (the curator archiving decisions), and a side effect an agent could not otherwise predict — that outcome also emits a separate events.kind='skill_outcome' row and that fixture calls emit skill_fixture_* events instead of production-use events. This is behavior the annotations cannot convey, and it is consistent with a non-idempotent write.

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?

Content is front-loaded — the core action is in sentence one, followed by parameter-by-parameter paragraphs — and the backtick formatting of parameter and value names aids scanning. The closing paragraph ('Don't be shy about marking wrong — better a curated library than a polluted one') is persuasive filler that adds tone but no operational information.

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

Completeness5/5

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

For a 4-parameter mutation tool with an output schema present, the description covers every parameter, the side effects of each mode, and the downstream curator consequences, so an agent can call it correctly and interpret what it triggers. Nothing operationally necessary is missing, and return-value documentation is correctly delegated to the output schema.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden, and it does: kind's four values, outcome's three values with their conditional relevance to kind='use', and include_fixtures' effect are all explained with semantics the bare schema titles do not provide. Only the required 'name' parameter is left implicit ('for a mirrored skill'), which is a minor gap rather than a blocking one.

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 description opens with a precise verb+resource: 'Record usage telemetry for a mirrored skill', and names the concrete storage target (skill_usage counters + timestamps). It does not explicitly differentiate itself from nearby siblings such as skill_manage, skill_validate or mark_skill_materialized, so an agent must infer the boundary from the telemetry framing alone.

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?

Usage is well contextualized: kind enumerates the four call situations, outcome is flagged as 'meaningful with kind=\'use\'', include_fixtures is scoped to dedicated test telemetry, and the agent is explicitly encouraged to mark 'wrong' when a skill misled it. There is no explicit when-not-to-use guidance or named alternative tool, which keeps it short of a 5.

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