Skip to main content
Glama

Create or edit an agent

agents_save
Destructive

Create or edit a social publishing agent by ID, configuring schedule, prompt, subreddits, spend cap, and optional auto-publish with required scopes.

Instructions

Create an agent (no id) or edit one (with id). Setting autoPublishPosts arms publishing without human approval and needs the publish scope; everything else needs write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe agent id to edit; omit to create.
nameNoName, up to 60 characters.
promptNoThe standing brief, up to 4000 characters.
statusNo
planDaysNoWake days, 0=Sunday.
timezoneNoIANA timezone.
planHoursNoWake hours.
subredditsNoUp to 5 subreddits.
connectionIdsNoAccounts to post through; null means all.
monthlyCapCentsNoMonthly spend cap in cents; null = no cap. The studio shows it in credits.
autoPublishPostsNoDANGEROUS: publish with no human approval. Needs the publish scope.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
strategyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds the highest-value behavioral fact beyond them: autoPublishPosts arms publishing with no human approval and requires an elevated scope. It does not disclose edit semantics for omitted fields on a mutation tool where nothing is required, which is the one remaining behavioral gap.

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?

Two compact sentences with zero filler, and the create/edit rule is front-loaded ahead of the permission caveats so the reader gets the decision rule first.

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?

An output schema exists, so return values need no explanation, and modes plus scope requirements are covered. The missing piece is patch semantics on edit (whether an omitted field is cleared or preserved) for a tool with zero required parameters.

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 coverage is 91%, so the baseline is 3 and the schema already carries most parameter meaning. The description goes beyond it by attaching mode semantics to 'id' and a consequence/scope warning to 'autoPublishPosts', which the schema alone conveys only partially.

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 opening clause gives a precise verb+resource pair and resolves the upsert ambiguity outright: create when 'no id', edit 'with id'. That distinguishes it cleanly from agents_list and agents_wake without the agent needing to open a 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?

It states the condition that selects each mode (id present or absent) and the permission prerequisites ('publish scope' for autoPublishPosts, 'write' for everything else), which is real when-to-use guidance. It stops short of naming sibling tools for listing or waking agents as alternatives.

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