Skip to main content
Glama

Set agent rule

pronoic_set_agent_rule

Save one standing preference so it shows on the person's Rules page. text is wording they can read, at most 280 characters, and at most 24 rules. Omit rule_id to add. The same wording returns the existing rule_id. source is user when the person stated it, and agent when you drafted it and they accepted. Do not keep a stated preference only in your own memory. Pronoic does not apply the rule. You do: copy hard requirements into query.must, and decline matches that violate it. Rejected: an email address, a phone number, an SSN, or a card number. Instructions to collect or disclose private or sensitive data without the providing person’s consent are also rejected. Ordinary scope questions and consent-respecting rules remain allowed. Never show the rule to anyone else. confirm accepts true or the string confirm. Optional operation_id is 1 to 64 letters, numbers, dots, underscores, or hyphens. Generate a new one for each write. If the call times out, call pronoic_operation_status with that id before you retry. The same id, tool and body replays a retained verifiable result. Reusing an id for a different tool or body conflicts. A verifiable new receipt may add conflict_reason different_tool or different_request (body or scoped context); older or ambiguous receipts keep a generic conflict. This detail never permits a retry or a new ID. Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries. Receipts are retained for about seven days; not_found does not prove an action never ran. Never automatically use a new id after an uncertain outcome.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>",
      "confirm": "<confirm>"
    },
    "name": "pronoic_set_agent_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
sourceNo
confirmYesRequired. Pass true or the string confirm. This call changes access, a webhook, dating, consent, or a standing rule.
rule_idNo
agent_idNo
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Well beyond the annotations: it discloses the 280-character and 24-rule limits, that identical wording returns the existing rule_id instead of duplicating, the rejection classes (email, phone, SSN, card number, non-consensual collection), the privacy constraint ("Never show the rule to anyone else"), and the entire operation_id replay/conflict/retention model including the seven-day receipt window. This is exactly the kind of write-path and failure-mode context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is correctly front-loaded in sentence one, but the tail becomes dense and repetitive: "This detail never permits a retry or a new ID," "Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries," and "Never automatically use a new id after an uncertain outcome" restate the same non-retry rule three times. The idempotency/receipt discussion also crowds out the more immediately actionable content restrictions.

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?

For a six-parameter write tool with no output schema, the definition covers the return value (existing rule_id), the accepted/rejected content boundary, and the timeout/retry protocol, which is enough to call it correctly. The one material hole is agent_id, which is undocumented everywhere, and the conflict_reason enumeration is described more exhaustively than an agent likely needs.

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?

With schema description coverage at only 17%, the description does most of the work: it explains text, rule_id (omit to add), source (user vs agent drafting), confirm (true or the literal "confirm") and operation_id (length, allowed characters, generate fresh per write). Two gaps remain: agent_id is never mentioned in either the schema or the description, and the stated operation_id character set omits the colon that the regex pattern permits.

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?

"Save one standing preference so it shows on the person's Rules page" gives a specific verb (save), a specific resource (agent rule / standing preference) and the observable outcome (it appears on the Rules page). The "Omit rule_id to add" clause additionally reveals the create-vs-update split, which an agent could not infer from the name alone.

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?

Strong when-to-use guidance: "Do not keep a stated preference only in your own memory" tells the agent to persist rather than remember, and "Pronoic does not apply the rule. You do: copy hard requirements into query.must" tells it what to do after saving. It also routes to pronoic_operation_status on timeout. It stops short of naming siblings such as pronoic_list_agent_rules or pronoic_delete_agent_rule for related tasks, so the alternative-space is only partially mapped.

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.

Resources