Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAPROUTER_AUDITNoOverrides the path where execute/deny decisions are written to audit.jsonl.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Local capability bus. Search before improvising; verify before declaring done. Host-aware: results carry host.loadable for unknown.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
capability_searchB

Find local capabilities (skills, plugins, projects, scripts, CLI agents) for a task. Returns top candidates, confidence, and an abstain decision when nothing fits.

capability_getB

Get the full Capability Card (manifest, examples, probe, stats, invoke contract) for one capability.

capability_invokeB

Invoke a capability. Prompt-mode capabilities return their content path and instructions; command-mode capabilities require explicit execution permissions.

capability_verifyB

Run deterministic acceptance checks on an artifact (length, item counts, format, JSON, claim ledger, hash). No LLM is called.

capability_record_outcomeC

Record the outcome of a capability invocation so future routing can rank by empirical success and human-edit cost.

capability_record_gapC

Record a missing capability so it can be added to the roadmap instead of being improvised.

capability_list_gapsC

List recorded capability gaps.

capability_probeA

Run deterministic probes for one capability or the whole registry. Static checks (path, SKILL.md lint, plugin manifest, invoke content) run without permission; command probes need check.allow plus config and caller permission. Host tasks are returned as pending.

capability_probe_recordB

Record a host-executed probe result for a capability. Use this after running a pending host task; the result becomes behavioral evidence.

capability_probe_reportC

Show probe history and aggregated probe status, optionally for one capability.

capability_card_draftB

Generate a deterministic Capability Card draft from a registry id or a local path. The draft is returned for review; it is not written to the overlay.

capability_discoverA

Search the public skills.sh catalog read-only and return remote candidates. It does NOT download or install; use the CLI fetch/vendor/install --approve flow after the user approves. Requires allow_network=true and explicit user consent.

capability_installA

Install a LOCAL skill/plugin/project from a directory or ZIP. Returns a preview unless approve=true. To approve, call once with approve=false, show the preview to the user, then call again with approve=true and approve_hash set to the returned source_hash. Remote fetch/install stays CLI-only.

capability_uninstallA

Preview removing a managed capability by default. Set yes=true only after explicit user confirmation; the copy moves to installed/.trash and the original external path is untouched. With unlink_host (default true) the host-side copy is removed too, unless it was modified locally.

capability_versionsA

List the current installed version and versions preserved in installed/.trash for one capability.

capability_healthB

Derive lifecycle state (draft/probation/active/degraded/retired) from probes and outcomes. Read-only.

capability_duplicatesA

List duplicate skill/plugin copies across configured roots, with content equality and the currently winning path. Read-only.

capability_lockB

Write .caprouter/caprouter.lock.json for the current registry, optionally rehashing live skill/plugin directories.

capability_driftC

Compare the current registry with the lockfile and report missing/new/changed capabilities.

capability_depsA

Read-only dependency plan/check for one capability. Returns exact install commands and risk flags; never executes pip/npm. Use action=plan for the host to run after user approval, action=check for what is already installed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 20 tools

Disambiguation4/5

Most tools target a distinct verb+resource (search/get/invoke/install/uninstall/lock/drift/deps) and are easy to tell apart. The only fuzzy zone is the probe/verify/health cluster: capability_probe runs checks, capability_probe_record stores a host result, capability_probe_report shows history, capability_verify checks an artifact, and capability_health derives state from probes+outcomes — descriptions help, but an agent could plausibly pick the wrong one. capability_search vs capability_discover (local vs remote catalog) is likewise resolved only by careful reading.

Naming Consistency5/5

Every tool uses the identical capability_<verb|noun> snake_case pattern with no camelCase or verb-style drift. Multi-word suffixes (probe_record, record_outcome, list_gaps, card_draft) remain predictable and readable.

Tool Count4/5

20 tools is at the upper edge, but each covers a distinct lifecycle stage (discovery, inspection, invocation, evidence, health, packaging, install, integrity). Nothing looks like a redundant duplicate; the surface is broad rather than bloated, though a few probe tools could likely be consolidated.

Completeness3/5

The read/inspect/evidence/install surface is strong, but there is no list/browse-all tool (only ranked search), no way to update or edit capability metadata after install, and no explicit lifecycle-transition tool (health is read-only, so promote/retire/degraded overrides are unavailable). card_draft generates a card but nothing writes it to the overlay, leaving a dead end agents must work around via files.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues