Skip to main content
Glama

Create Guardrail

oi.guardrails.create

Create an Oi Guardrail in the current organization. By default this creates a private draft; publish: true releases the initial version and publishes it publicly. Use this only when the user explicitly asks to create or import a Guardrail and the source license permits reuse. Prefer markdown content in content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesGuardrail name.
slugNoOptional organization-unique slug using lowercase letters, numbers, and hyphens.
tagsNoOptional tags.
contentNoMarkdown Guardrail content.
publishNoWhether to release the initial draft as version 1 and publish it publicly after creation. Use only when the source license permits publication.
releaseNoWhether to release the initial draft as version 1 after creation.
summaryNoOptional summary.
categoriesNoOptional category labels.
sourceSlugNoOptional source repository or public Guardrail slug for provenance.
guardrailClausesNoOptional structured clauses. Prefer content for new writes.
sourceOrganizationSlugNoOptional source owner slug for provenance.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNo
guardrailYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false) establish that this is a mutation. The description adds context beyond that: creation defaults to a private draft, publish:true releases v1 and makes it public, and there is a license-reuse restriction. No contradiction with annotations.

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?

Four sentences, each earning its place: purpose/scope, default behavior, explicit usage gate, and content preference. The most decision-relevant facts are front-loaded in the first two sentences with zero redundancy.

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?

Given an 11-parameter tool with an output schema and annotations, the description covers the key decisions: draft vs published, license gating, and content preference. It could additionally contrast publish vs release timing or route follow-up edits to update, but nothing essential for a first call is missing.

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 coverage is 100%, so the schema already documents all 11 parameters including the publish parameter's meaning. The description adds modest value with "Prefer markdown content in content," reinforcing the schema's own "Prefer content for new writes" note, but does not materially expand parameter understanding beyond the baseline.

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?

"Create an Oi Guardrail in the current organization" names a specific verb, resource, and scope. The default-private-draft behavior and the publish flag implicitly separate this from sibling publish/release tools, so an agent can tell what this tool does without opening the schema.

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?

"Use this only when the user explicitly asks to create or import a Guardrail and the source license permits reuse" is an explicit when/when-not gate with a licensing condition. It does not name a specific alternative tool (e.g., update for edits), which keeps it from a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.5/5.0
Disambiguation4/5

Resource prefixes (contexts, skills, guardrails, workflows, connections) make most tools clearly distinct, and parallel lifecycle verbs are scoped by resource name. The main ambiguity is within the guardrails publish/release/unpublish lifecycle and between brain.save-feedback, contexts.save-draft-feedback, and the two report tools, though detailed descriptions mostly resolve it.

Naming Consistency4/5

Tools overwhelmingly follow an oi.<resource>.<verb> snake_case pattern, with create/get/list/update/use repeated consistently across resource types. Deviations include resource-less oi.recommend, noun-style oi.auth.whoami, and inconsistent release handling (separate guardrails.release vs action=release on contexts/skills update).

Tool Count2/5

38 tools is too many for a single server, mainly because the same lifecycle pattern is repeated across Contexts, Skills, Guardrails, and Workflows. Each tool may be individually justifiable, but the set feels bloated and could benefit from consolidation or splitting into per-resource servers.

Completeness3/5

CRUD coverage is uneven: Guardrails have create/update/delete/list/get plus publish/unpublish/release, while Contexts, Skills, and Workflows lack any delete or archive tool, and Brain has only save-feedback with no read/update/delete path. Connections and auth are read/use-only, which may be intentional but leaves management actions absent.