Skip to main content
Glama
event4u-app

@event4u/agent-config

Official

compile_router

Regenerate the compiled router after editing rule, skill, or command frontmatter to reflect updated trigger-based routing. Set dry_run: true to preview without writing.

Instructions

Regenerate the compiled router (router.compiled.json) from the current rule, skill, and command frontmatter, so trigger-based routing reflects the latest artifacts. Use after adding or editing a rule / skill / command's trigger metadata. Shell-bound — wraps scripts/compile_router.py — and returns the regenerated router summary. Set dry_run: true to compute the result without writing the file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoWhen true, compute the router without writing `router.compiled.json` to disk.
Behavior4/5

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

Without annotations, description carries full burden. It discloses file writing (router.compiled.json) and dry_run behavior. Could mention overwriting or prerequisites, but overall transparent.

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 well-structured sentences with front-loaded purpose. No wasted words; includes action, context, and parameter guidance.

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?

Covers purpose, usage, and parameter. Missing description of return format (router summary) which would aid understanding without output schema.

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?

Single parameter dry_run with full schema coverage (100%). Description restates the parameter's purpose without adding new meaning beyond schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool regenerates a compiled router from frontmatter, specifying the output file and purpose. It distinguishes from siblings like listing or linting tools.

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?

Explicitly says 'Use after adding or editing a rule/skill/command's trigger metadata'. Provides context for dry_run. Lacks explicit exclusions or alternative mentions, but sufficient for common use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/event4u-app/agent-config'

If you have feedback or need assistance with the MCP directory API, please join our Discord server