Skip to main content
Glama

Get post

get_post
Read-only

Get one post with its per-platform variants. Variant ids from here are what update_post uses to edit individual captions. Also finds drafts, which list_posts (month-scoped) can miss.

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>"
    },
    "name": "get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost id (from list_posts or create_post)

Output Schema

NameRequiredDescriptionDefault
postYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / post / properties / failed_at
      Added value: +{
      +  "description": "With status has_failed: the latest time a platform of this post failed. It doesn't change while a post is retried, so it tells a new failure from one already seen",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / post / properties / post_variants / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "connected_account_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "content": {
      -          "description": "Caption for this platform/account",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "error_message": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "permalink": {
      -          "description": "Exact link to the published post when the platform gave one; otherwise build it from platform_post_id",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "platform": {
      -          "description": "Platform id, e.g. instagram, linkedin",
      -          "type": "string"
      -        },
      -        "platform_post_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "published_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "status": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "platform"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connected_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "description": "Caption for this platform/account",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error_message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "failed_at": {
      +          "description": "With status has_failed: when this platform failed (null when it didn't)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "permalink": {
      +          "description": "Exact link to the published post when the platform gave one; otherwise build it from platform_post_id",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "platform": {
      +          "description": "Platform id, e.g. instagram, linkedin",
      +          "type": "string"
      +        },
      +        "platform_post_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / post / properties / post_variants / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "connected_account_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "content": {
      -          "description": "Caption for this platform/account",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "error_message": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "platform": {
      -          "description": "Platform id, e.g. instagram, linkedin",
      -          "type": "string"
      -        },
      -        "platform_post_id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "published_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "status": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "platform"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connected_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "description": "Caption for this platform/account",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error_message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "permalink": {
      +          "description": "Exact link to the published post when the platform gave one; otherwise build it from platform_post_id",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "platform": {
      +          "description": "Platform id, e.g. instagram, linkedin",
      +          "type": "string"
      +        },
      +        "platform_post_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed9 schema fields changed
    • removedOutput schema / properties / post / properties / created_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / post / properties / created_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / post / properties / post_variants / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "connected_account_id": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "content": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Caption for this platform/account"
      -        },
      -        "error_message": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "platform": {
      -          "description": "Platform id, e.g. instagram, linkedin",
      -          "type": "string"
      -        },
      -        "platform_post_id": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "published_at": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "status": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "platform"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "connected_account_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "content": {
      +          "description": "Caption for this platform/account",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error_message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "platform": {
      +          "description": "Platform id, e.g. instagram, linkedin",
      +          "type": "string"
      +        },
      +        "platform_post_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "published_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "platform"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / post / properties / published_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / post / properties / published_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / post / properties / raw_prompt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / post / properties / raw_prompt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / post / properties / scheduled_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / post / properties / scheduled_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "post": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "created_at": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "media_urls": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "post_variants": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "connected_account_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "content": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Caption for this platform/account"
      +                  },
      +                  "error_message": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "platform": {
      +                    "description": "Platform id, e.g. instagram, linkedin",
      +                    "type": "string"
      +                  },
      +                  "platform_post_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "published_at": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "status": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "platform"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "One entry per platform/account"
      +        },
      +        "published_at": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "raw_prompt": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "scheduled_at": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "status": {
      +          "description": "draft | scheduled | publishing | published | failed",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "status"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "post"
      +  ],
      +  "type": "object"
      +}
  5. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add context. It does: it discloses that variants are embedded in the response and that drafts are reachable here even when the listing tool misses them. It does not say what happens for a missing/invalid id, which is the main remaining gap.

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?

Two short sentences, front-loaded with what is returned, then the cross-tool linkage and the drafts edge case. Every clause carries information; nothing is redundant or buried.

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, and the one input is fully documented in the schema. For a single-id read tool the description covers purpose, result shape, and the non-obvious drafts behavior — nothing an agent needs 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?

There is a single parameter with 100% schema description coverage that already says 'Post id (from list_posts or create_post)'. The description adds no format, accepted-id, or fallback semantics beyond that, so the schema is doing all the work — baseline 3.

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 ('Get one post') plus the returned scope ('with its per-platform variants'), and adds a second capability ('Also finds drafts'). An agent can distinguish it from list_posts and update_post 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 Guidelines4/5

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

Clearly routes the agent: variant ids obtained here are the inputs update_post needs, and it flags that list_posts is month-scoped and can miss drafts. It stops short of an explicit 'use this when X, not Y' rule for the known-id vs browse case, but the practical selection context is present.

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