Skip to main content
Glama

Reorder agent rules

pronoic_reorder_agent_rules

Set the order of this person's private rules. rule_ids must list every current rule once. Order is for this person's agent. Pronoic does not apply the list. 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": {
      "rule_ids": "<rule_ids>"
    },
    "name": "pronoic_reorder_agent_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
rule_idsYes
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the server does not apply the ordering, that ordering is complete-replacement rather than incremental, and it spells out operation_id replay, conflict conditions, ~7-day receipt retention, and a strong no-blind-retry rule. The gaps are what happens when rule_ids omits or duplicates a current rule, and any permission prerequisites. Not contradictory to annotations — the conditional replay via operation_id coexists with idempotentHint=false, which only describes keyless calls.

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?

Strong front-loading: the mutation and its non-enforcement nature come first. The remainder drifts into a dense, repetitive receipt/retry block ('This detail never permits a retry or a new ID'; 'Never automatically use a new id after an uncertain outcome'; 'do not authorize automatic retries') that restates the same rule several times and crowds out the core ordering contract.

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 3-parameter mutation with no output schema and only minimal annotations, this covers the essentials: replacement semantics, idempotency-key handling, timeout recovery path, and retention window. It is still silent on error behavior for incomplete or duplicate rule lists and on whether the ordering is ascending by list position.

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 description coverage is 0%, so the description must carry the parameter meaning. It documents operation_id exceptionally well (format, one-per-write, replay semantics, conflict rules) and states the completeness requirement for rule_ids, but agent_id is never explained beyond the incidental phrase 'this person's agent,' and array ordering direction is left implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Set the order of this person's private rules,' and adds a scoping clarification ('Order is for this person's agent. Pronoic does not apply the list') that separates it from a rules-enforcement tool. It does not name the sibling that edits rule contents (pronoic_set_agent_rule), so differentiation is implied rather than explicit.

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

Usage Guidelines3/5

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

The replacement contract ('rule_ids must list every current rule once') implies the agent must first read the current set, but no sibling is named and no explicit when-to-use/when-not statement is given. The bulk of the guidance concerns operation_id lifecycle and retry behavior rather than tool selection, which is useful but belongs to a different concern.

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