Skip to main content
Glama

updatePost

Destructive

Change the text or link preview of a feed post; omitted fields keep their current values. Returns the updated post. Only a post the administrator who connected wrote can be changed here; another member's post is changed in the Spacebring admin app. Leave out media: files cannot be uploaded here, and a media value replaces every image currently attached, so an empty list removes them all. Get postId from getPosts. Never invent UUIDs; only use values from prior tool responses.

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": {
      "postId": "<postId>",
      "post": "<post>"
    },
    "name": "updatePost"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYesFeed post fields to change. Omitted fields keep their current values.
postIdYesThe id of the feed post.

Output Schema

NameRequiredDescriptionDefault
postYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / post / properties / membership / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / post / properties / membership / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
    • addedOutput schema / properties / post / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / post / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / post / properties / viewed
      Added value: +{
      +  "description": "Whether the current user has viewed the post.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / post / properties / views
      Added value: +{
      +  "description": "Number of members who viewed the post. Missing on posts nobody has viewed since views were introduced.",
      +  "type": "number"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds the concrete destruction model that annotations cannot convey: media values replace every attached image and an empty list removes them all, and files cannot be uploaded here. It also documents partial-update semantics and the return value, which is more than the annotations provide.

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?

Front-loaded with the core action and default semantics, then permissions, then the media caveat, then the ID sourcing rule — a sensible priority order. It is semicolon-dense and slightly long, but each clause carries non-redundant operational 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?

For a two-parameter nested mutation tool with an output schema, everything an agent needs is present: partial-update behavior, destructive media replacement, permission boundary, and ID provenance. Return-value details are correctly left to the output schema.

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%, so the baseline is 3, but the description adds real meaning beyond the schema: omitted fields are preserved rather than cleared, media is a full replacement rather than an append, and postId must come from a prior tool response. The nested `og` object is not discussed specifically, which is the only small gap.

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?

States a specific verb and resource ('Change the text or link preview of a feed post') plus the update semantics ('omitted fields keep their current values') and the return ('Returns the updated post'). This is clearly distinguishable from createPost, deletePost, and getPosts without opening any schema.

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?

Explicitly scopes who may use it ('Only a post the administrator who connected wrote') and routes the excluded case to another surface ('another member's post is changed in the Spacebring admin app'). It also names the upstream tool for the ID ('Get postId from getPosts') and warns against fabricating UUIDs.

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