Skip to main content
Glama

chats_pin

Pins a chat to a channel for quick access. Provide channelId and chatId to keep important conversations visible.

Instructions

Pin a chat (POST /api/kalagh/chats/pin · gRPC PinChat · socket "chats/pin")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYes
channelIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only transport metadata (POST path, gRPC method, socket name) and says nothing behavioral, such as idempotency, whether pinning an already-pinned chat errors, or where the pinned chat appears.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded line with the action stated first. The parenthetical transport details are compact, though arguably incidental to tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema and undocumented parameters, the description is too thin: it never explains the effect of pinning, ordering semantics, or failure modes, leaving the agent to guess at behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%: both required parameters (chatId, channelId) carry only example values and no meaning. The description adds nothing about what either identifier refers to, so it fails to compensate for the coverage gap.

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?

States a specific verb and resource ('Pin a chat'), which is unambiguous on its own. It does not explicitly distinguish itself from the sibling chats_unpin, but the verb itself makes the contrast obvious to an agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description offers no when-to-use context, no prerequisites, and no mention of the chats_unpin alternative. An agent must infer the use case entirely from the name.

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