Skip to main content
Glama

Get Inbox Comment

get_inbox_comment
Read-onlyIdempotent

Get one inbox comment with its parent comment (when it is a reply) and the replies under it, to read a conversation before answering. 404 inbox_item_not_found when the id is unknown in this workspace. Needs the inbox.read permission, which every role holds.

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_inbox_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe comment id, from list_inbox_comments
workspaceIdNoWorkspace to act in: an id from list_workspaces. Omit to act in the workspace list_workspaces marks current. Use the same workspaceId for every call about the same workspace, since ids from one workspace (accounts, posts, uploads) do not exist in another

Output Schema

NameRequiredDescriptionDefault
resultYesAn object with comment, parent (null for a top-level comment) and replies. Each is An InboxComment: id, accountId, platform, accountName, postId (the AdaptlyPost post id, null when the post was not published through AdaptlyPost), platformPostId, postText, postPermalink, platformCommentId, parentPlatformCommentId (null for a top-level comment), isReply, author { id, name, username, avatarUrl }, text, permalink, likeCount, createdAt, status (UNREAD, READ or DONE), isHidden, isOwn, replied (the account has a reply under it, sent from AdaptlyPost or the platform app), repliedAt, likedByAccount and capabilities { canReply, canHide, canDelete, canLike }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / result / additionalProperties
      Added value: +true
    • addedOutput schema / properties / result / properties
      Added value: +{
      +  "comment": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": true,
      +        "properties": {
      +          "accountId": {
      +            "description": "The account `id` from GET /social-accounts",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "accountName": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "author": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "avatarUrl": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "id": {
      +                    "description": "The platform user id",
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "username": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "capabilities": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "canDelete": {
      +                    "type": [
      +                      "boolean",
      +                      "null"
      +                    ]
      +                  },
      +                  "canHide": {
      +                    "type": [
      +                      "boolean",
      +                      "null"
      +                    ]
      +                  },
      +                  "canLike": {
      +                    "type": [
      +                      "boolean",
      +                      "null"
      +                    ]
      +                  },
      +                  "canReply": {
      +                    "type": [
      +                      "boolean",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "createdAt": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "isHidden": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "isOwn": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "isReply": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "likeCount": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "likedByAccount": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "parentPlatformCommentId": {
      +            "description": "Null for a top-level comment",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "permalink": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "platform": {
      +            "description": "One of: FACEBOOK, INSTAGRAM, THREADS, TIKTOK, TWITTER, BLUESKY, LINKEDIN, PINTEREST, YOUTUBE, MASTODON, TELEGRAM, GOOGLE_BUSINESS, TUMBLR, WORDPRESS",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "platformCommentId": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "platformPostId": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "postId": {
      +            "description": "The AdaptlyPost post id, null when the post was not published through AdaptlyPost",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "postPermalink": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "postText": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "replied": {
      +            "description": "True when your account has a reply under it, sent from AdaptlyPost or from the platform's own app",
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "repliedAt": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "description": "One of: UNREAD, READ, DONE",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "text": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "parent": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/properties/result/properties/comment/anyOf/0"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "replies": {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "$ref": "#/properties/result/properties/comment/anyOf/0"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / properties / result / type
      Added value: +"object"
    • addedOutput schema / required
      Added value: +[
      +  "result"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavior: the tool returns an aggregate (parent plus child replies), raises 404 inbox_item_not_found for unknown ids in the workspace, and requires inbox.read which every role holds — all beyond what structured fields say.

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, front-loaded with what is returned, then failure mode, then permission. Every clause carries information an agent would otherwise have to guess; nothing is redundant with the annotations.

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 read with an output schema, this covers the remaining unknowns: return shape, error condition, and required permission. Nothing an agent needs in order to call it correctly 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 schema already documents both id and workspaceId thoroughly, including the cross-workspace id caution. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 inbox comment") and clarifies the scope of what is returned: the parent comment when the target is a reply, plus the replies beneath it. An agent can distinguish this single-comment fetch from the list/compose siblings 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 Guidelines4/5

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

Gives a clear usage context — "to read a conversation before answering" — which tells the agent this is a pre-response read step. It stops short of naming alternatives or exclusions (e.g., when to prefer a whole-conversation or list tool instead), so it is context-rich but not fully routing.

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