Skip to main content
Glama

getPosts

Read-only

List feed posts, pinned first and then newest first. Omit locationRef to list posts across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getPosts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of feed posts per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100.
locationRefNoUUID of the location whose feed posts to list. Omit to list posts across every location of the network.
nextPageTokenNoPagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page.

Output Schema

NameRequiredDescriptionDefault
postsYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / posts / items / 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 / posts / items / properties / membership / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
    • addedOutput schema / properties / posts / items / 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 / posts / items / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / posts / items / properties / viewed
      Added value: +{
      +  "description": "Whether the current user has viewed the post.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / posts / items / 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.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral detail beyond that: the deterministic ordering (pinned first, then newest first) that an agent must know to interpret the returned sequence. It does not discuss result-set size or rate limits, keeping it short of a 5.

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 sentences, zero filler. Ordering and scoping semantics come first, and the follow-up tool routing comes second, which is the right front-loading for a list operation.

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 three-parameter, fully documented, non-destructive list tool that already has an output schema, this is complete: ordering, scoping, and pagination-source (nextPageToken) are all accounted for either here or in the 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 description coverage is 100%, so the baseline is 3; the description earns an extra point by explaining the semantic consequence of omitting versus supplying locationRef and by naming the companion tools that produce a valid locationId — meaning the schema alone 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 ("List feed posts") and adds the ordering contract ("pinned first and then newest first"), which is the distinguishing behavior of this tool versus other list endpoints on sibling resources.

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 conditional guidance for the only real decision: omit locationRef to span all locations, supply it to scope to one. It also routes the agent to getLocations/getLocation to obtain a locationId, so no inference is required.

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