Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

capabilities_index

Idempotent

Regenerate CAPABILITIES.yaml to keep the package coverage index of skills, rules, commands, and guidelines current after adding or removing artifacts; use check mode to fail CI on drift.

Instructions

Regenerate CAPABILITIES.yaml, the package's coverage index of skills, rules, commands, and guidelines. Use after adding or removing an artifact to keep the index current. Pass check: true to run in read-only CI mode (fails instead of writing on drift).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "capabilities_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkNoWhen true, run in read-only drift-check mode instead of writing the index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv8.2.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the artifact that gets written, that the operation is a regeneration (implying existing index content is replaced), and that check mode fails rather than writes when drift is detected. That failure-on-drift behavior is genuinely useful context an agent cannot get from the annotations. The default write path's effect on an existing file could still be spelled out more explicitly.

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

Conciseness5/5

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

Three sentences, each doing distinct work: what it does, when to run it, and the alternate mode. The core action is front-loaded and there is no filler.

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 one-parameter, non-destructive regeneration tool with full schema coverage and annotations covering safety, the description supplies what's needed to invoke it correctly. Only the default-mode outcome (index overwritten, success response shape) is left implicit, which is minor given no output schema exists.

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 100%, and the single parameter's schema text already says 'run in read-only drift-check mode instead of writing the index.' The description's phrasing adds only the drift-failure consequence, so it is largely restating structured data rather than extending it.

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 names a specific verb ('Regenerate') and a specific resource (`CAPABILITIES.yaml`), and further defines that resource as the package's coverage index of skills, rules, commands, and guidelines. That is enough for an agent to distinguish it from siblings like list_skills or lint_skills, though it never explicitly contrasts itself with any of them.

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?

It gives a concrete trigger ('Use after adding or removing an artifact') and a second mode with its own condition ('Pass check: true to run in read-only CI mode'). What's missing is any statement of when NOT to use it, or which sibling to prefer for indexing-adjacent tasks such as conformance_check.

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