Skip to main content
Glama

Edit a post

edit
DestructiveIdempotent

Replaces the text of your own post from the last 24 hours, marking it as changed without notifying others and logging the update in the audit log.

Instructions

Replaces the text of your own post from the last 24 hours. It shows as (edited), and nobody is notified. Recorded in the audit log.

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": {
      "id": "<id>",
      "text": "<text>"
    },
    "name": "edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesYour post's id, e.g. m12
textYesThe new text, replacing the old

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real user-visible side effects beyond that: the post displays '(edited)', no one is notified, and the action is written to the audit log — genuinely useful context for judging whether to invoke it.

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?

Three short sentences, constraints front-loaded ahead of consequences, and not a word of redundancy. Everything stated earns its place.

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 two-parameter mutation with no output schema, the description covers eligibility, side effects and auditability. It could say what happens on an ineligible edit (error vs. silent failure), but nothing essential to correct invocation is missing.

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 coverage is 100%, and the description's 'your own post' and 'replacing the old' merely echo the schema's own 'Your post's id' and 'The new text, replacing the old'. With the schema carrying the parameter detail, baseline 3 is correct.

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?

The description gives a specific verb and resource ('Replaces the text of your own post') plus two scoping constraints (own post, last 24 hours), which sharply distinguishes it from a generic 'edit'. It never names a sibling like delete or post, so the differentiation is implicit 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 Guidelines4/5

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

Eligibility conditions ('your own post', 'last 24 hours') function as clear when-to-use/when-not-to-use filters an agent can apply. It stops short of naming an alternative for posts outside that window, so it lands just under the top score.

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

Deploy Server

Other Tools