Skip to main content
Glama
bruhsb
by bruhsb

paperclip_set_agent_instructions_path

Destructive

Set or clear the AGENTS.md instructions file path for a specific agent to define its role instructions when onboarding.

Instructions

⚠ Board-only: Set or clear the AGENTS.md instructions file path for an agent.

Args:

  • agentId: string — Agent UUID (example: "agt_abc123")

  • path: string | null — Absolute path to the AGENTS.md file; null to clear (example: "/home/user/.agents/engineer/AGENTS.md")

  • adapterConfigKey: string (optional) — Override adapter config key for non-standard adapters

Returns: Returns the updated agent record with the new instructionsFilePath value.

Examples:

  • Use when: onboarding a new agent by pointing it at its role-specific AGENTS.md (requires board API key)

  • Don't use when: you want to update other adapter settings — use paperclip_update_agent for other adapterConfig fields

Error Handling:

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 403: permission denied → this tool requires a board (human) API key

  • 404: agent not found → verify ID with paperclip_list_agents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentIdYesAgent UUID
pathYesPath to AGENTS.md file, or null to clear
adapterConfigKeyNoAdapter config key override for non-standard adapters
Behavior4/5

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

Annotations already provide destructiveHint=true. Description adds details about authentication requirements (board-only) and error handling, beyond what annotations offer.

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 well-structured with clear sections (Args, Returns, Examples, Error Handling) and is concise with no unnecessary information.

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?

Despite no output schema, the description includes return value details and error codes, making it complete for a mutation tool with three 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 100%; description adds example values and clarifies the 'path' parameter's role (null to clear). This adds moderate value 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 action: 'Set or clear the AGENTS.md instructions file path for an agent.' It distinguishes from sibling tool paperclip_update_agent by explicitly noting when not to use it.

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?

Provides explicit 'Use when' and 'Don't use when' sections, and mentions that a board API key is required.

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