Skip to main content
Glama

generalize

Rewrites the body of a previously promoted item into a cross-project rule, preserving the concrete version as an example.

Instructions

Restate an ALREADY-PROMOTED item's body as the cross-project rule, in place, keeping the concrete version as example. The remediation counterpart of the org generalization gate: items that reached org (or team) before the gate — or were forced past it — are listed by review_promotions() under org_needs_generalization; this rewrites one to its general form.

org_content : the cross-project rule to become the body. If omitted, the item's latest endorsement note is used (that is where the generalization was usually already written). note : optional note recorded as a verification stamp.

Writes through the org store's CAS path (direct push, or the shared cambium/generalize PR branch when CAMBIUM_ORG_PR=1 — repeated calls batch into one reviewable PR), re-rendering KNOWLEDGE.md alongside. Team-scope items are edited via the team CAS path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
item_idYes
org_contentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations exist, so description must cover behavioral traits. It details write operations via CAS paths, PR batching, and side effects on KNOWLEDGE.md. Differentiates between org and team scope. No contradictions.

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?

Front-loaded with main purpose; parameter details follow. Some redundancy (e.g., 'in place' and 'rewrites one to its general form') but overall efficient. Minor wordiness does not harm clarity.

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?

Given annotations are absent and parameter count is 3, the description provides comprehensive context: usage, parameters, write behavior, and output side effects. Output schema exists, so return value details are not needed.

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%, but description explains `org_content` (with default behavior) and `note`. `item_id` remains implicit but is required. Adds meaning beyond schema for two of three parameters.

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 clearly states the action: 'Restate an ALREADY-PROMOTED item's body as the cross-project rule' and distinguishes it from sibling tools like 'promote' by specifying it is the remediation counterpart of the org generalization gate.

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 describes when to use: for items listed under `org_needs_generalization` by `review_promotions()`. Provides context for `org_content` defaulting to the endorsement note. However, lacks explicit when-not-to-use or alternatives.

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/jarmstrong158/cambium'

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