Skip to main content
Glama

createPost

Publish a post in a location's community feed. Returns the created post. The post is published as the administrator who connected, never on behalf of a member. Leave out media: files cannot be uploaded here, so images are added in the Spacebring admin app; that makes text required. A repeated call publishes a second post, so after a failure or timeout check getPosts before calling again. Call getLocations to list locations, or getLocation to fetch one by locationId. 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": {
      "post": "<post>"
    },
    "name": "createPost"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYesFeed post to create.

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.9/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description adds substantive behavior beyond them: publication happens as the connecting administrator and never on behalf of a member, media attachment is unavailable, text becomes effectively required, and the call is non-idempotent (a repeat publishes a second post). That non-idempotency warning is exactly the trait an agent cannot infer from destructiveHint=false alone.

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?

Front-loaded with purpose and return value, then constraints, then recovery and ID-sourcing rules. Every sentence carries a distinct operational fact; there is no restatement of the name or filler.

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?

An output schema exists, so return values need no explanation. For a single nested mutation tool, the description covers identity context, idempotency, empty-media constraint, and prerequisite lookups — nothing an agent needs to call it safely is missing.

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% and the nested post object is well documented, so the baseline would be 3. The description goes further by telling the agent to omit the schema-present 'media' array and that this omission makes 'text' mandatory, which is real meaning the schema does not convey.

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 ('Publish a post in a location's community feed') plus a return value, which cleanly separates it from updatePost, createPostComment and getPosts. An agent knows exactly what object is produced without opening the 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?

Gives explicit routing rules: call getLocations or getLocation to obtain the locationId, and call getPosts after a failure before retrying. It also states a hard exclusion (no media here, images go through the Spacebring admin app) and a data-sourcing rule (never invent 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