Skip to main content
Glama
bruhsb
by bruhsb

paperclip_create_routine

Create a scheduled routine for an agent, specifying title, assignee, concurrency policy, and catch-up policy for missed runs.

Instructions

Create a new routine for an agent. Add triggers separately with paperclip_add_routine_trigger.

Args:

  • assigneeAgentId: string — Agent UUID to run the routine (example: "agt_abc123")

  • title: string — Routine title (example: "daily-standup")

  • description: string (optional) — Routine description

  • concurrencyPolicy: string (optional) — allow | forbid | replace (default: forbid)

  • catchUpPolicy: string (optional) — skip | run_once for missed runs

Returns: Returns the created routine object: id, title, assigneeAgentId, triggers:[], createdAt.

Examples:

  • Use when: setting up a scheduled workflow for an agent before adding a cron trigger

  • Don't use when: you want to trigger immediately — use paperclip_run_routine after creating the routine

Error Handling:

  • 400: validation failure → ensure title and assigneeAgentId are non-empty

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 404: assigneeAgentId not found → verify with paperclip_list_agents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assigneeAgentIdYesAgent UUID to run the routine
titleYesRoutine title
descriptionNoRoutine description
concurrencyPolicyNoConcurrency policy (e.g. allow, forbid, replace)
catchUpPolicyNoCatch-up policy for missed runs (e.g. skip, run_once)
Behavior4/5

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

Description adds behavioral context beyond annotations, including that it is a creation operation (non-destructive per annotations), return value structure, and error handling for common failure modes. It does not contradict annotations.

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?

The description is well-structured with sections for args, returns, examples, and error handling. It is front-loaded with the main action. While comprehensive, it could be slightly more concise by trimming redundant phrases.

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 5 parameters, no output schema, and the need to guide an agent, the description covers purpose, usage context, parameter explanations, error scenarios, and return format. It is fully sufficient for correct selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema provides descriptions for all parameters (100% coverage). The description adds value by providing specific examples and explaining options for concurrencyPolicy and catchUpPolicy, clarifying the meaning beyond the schema.

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 tool creates a routine for an agent and distinguishes from sibling tools like paperclip_add_routine_trigger and paperclip_run_routine by specifying that triggers are added separately and that this is for scheduled workflows.

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

Usage Guidelines5/5

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

Explicit when-to-use and when-not-to-use guidance is provided: 'Use when: setting up a scheduled workflow for an agent before adding a cron trigger' and 'Don't use when: you want to trigger immediately — use paperclip_run_routine after creating the routine.' This effectively differentiates from 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/bruhsb/paperclip-mcp'

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