Skip to main content
Glama

Get pinned posts

get_pinned_posts
Read-only

Retrieve pinned messages from a Mattermost channel to access shared credentials, links, and onboarding information.

Instructions

List the pinned messages of a channel. Teams often pin shared credentials, links and onboarding info, so check this when looking for reference material.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamNoTeam name, if the channel name is ambiguous across teams
channelYesChannel name, channel id, or @username for a DM
Behavior3/5

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

The readOnlyHint annotation already covers the safety profile, and the description does not contradict it. The description adds minor behavioral context by explaining that pinned posts are often reference material, but it does not disclose return format, ordering, or pagination. Given the annotation, this is acceptable but not exceptional.

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?

The description is two sentences with no wasted words. The core action is front-loaded, and the second sentence provides a useful practical hint that helps the agent decide when to call the tool.

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?

This is a simple read-only listing tool with full parameter coverage in the schema and a readOnlyHint annotation. The description is complete enough for an agent to select and invoke it correctly without needing additional return-value or behavior details.

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 description coverage is 100%, so both parameters (team and channel) are already fully documented. The description does not add parameter-specific detail beyond the schema, which fits the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action and resource: "List the pinned messages of a channel." This is specific enough to distinguish it from siblings like get_channel_history or search_posts, though it does not explicitly name any alternative.

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?

The description gives clear context for when to use the tool: "check this when looking for reference material." It explains that pinned messages often contain shared credentials, links, and onboarding info, but it does not explicitly state when not to use it or name alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shin6949/mattermost-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server