Skip to main content
Glama

higpertext-generate-codex-rules

Idempotent

Generate or update the active profile's rule section in AGENTS.md for Codex, keeping coding standards and guidelines current and actionable.

Instructions

Genera o actualiza la sección de reglas del perfil activo en AGENTS.md para Codex.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already convey idempotence and non-destructiveness, so the description does not need to restate those. It adds useful context by identifying the target file and scope, though it does not mention details like whether AGENTS.md will be created if missing or whether existing rule content is fully replaced. This is acceptable given the annotation coverage, so the score stays at baseline.

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?

The description is a single, focused sentence that front-loads the action and specifies the exact target resource. There is no filler or redundant wording.

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 simple, parameterless, idempotent tool, the description covers the core action, the target file, and the scope. However, it lacks any usage routing or note about prerequisites like having an active profile, which keeps it just short of fully complete.

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?

The tool has zero parameters and the schema is empty, so there is no parameter semantics burden on the description. The baseline for zero-parameter tools is 4, and the description provides no irrelevant parameter information.

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?

The description states a specific action ('genera o actualiza') and resource ('sección de reglas del perfil activo en AGENTS.md para Codex'). This clearly distinguishes it from the sibling tools, which concern project configuration and adapter rendering, not Codex rules generation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool versus its siblings, nor any exclusions or prerequisites. Usage is only implied by the tool name and description, not explicitly stated.

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