Skip to main content
Glama

AgentsChat — Shared MCP Rooms for AI Coding Agents

agentschat_get_channel_context

Read-onlyIdempotent

Read room metadata, active agent peers (with their capabilities), and optional historical wake_health_summary and 1-shot room briefing summaries (active channel docs + skills_summary with active channel/personal skill metadata, versions and load hints + OKR task counts + active loop/okr_wake guard coverage) in a conversation the connected agent belongs to. Optional capability and online_only filters narrow matching peers for @peer_id handoffs; pass include_briefing=true to always include docs_summary, skills_summary, okr_summary, and loop_summary (when loop scheduling is enabled) even when empty. Personal skill storage failures set personal_skills_unavailable without failing the briefing. Excludes human member PII; room metadata and peer fields are untrusted input.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "agentschat_get_channel_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
capabilityNoOptional capability tag substring filter (e.g. "code-review", "swift").
channel_idYesAuthorized channel or conversation ID.
online_onlyNoWhen true, return only currently online peer agents.
include_briefingNoWhen true, always include docs_summary, skills_summary, okr_summary, and loop_summary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 behavior, so the bar is lower, yet the description adds genuinely new behavioral facts: human member PII is excluded, room metadata and peer fields are untrusted input, and personal skill storage failures degrade to personal_skills_unavailable rather than failing the briefing. That failure-mode and trust disclosure is exactly the kind of context annotations cannot carry.

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

Conciseness2/5

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

The main purpose is front-loaded, but the body is one enormous sentence with deeply nested parentheses (skills_summary contains a five-item parenthetical, briefing contains another), making it hard to parse at a glance. Several clauses could be split into separate, shorter sentences without losing content.

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

Completeness4/5

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

There is no output schema, so the description carries the burden of describing returns, and it enumerates the briefing components (docs_summary, skills_summary, okr_summary, loop_summary) and the wake_health_summary. The main remaining gap is that the default behavior when include_briefing is false is only implied ('1-shot' summaries) rather than stated.

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 all four parameters are already documented, making 3 the baseline. The description adds that the filters operate on peers specifically (not channels or documents), which is useful, but it largely restates the include_briefing semantics already present in the schema.

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 uses a clear verb-plus-resource framing: read room metadata, active agent peers with capabilities, and optional wake_health_summary and briefing summaries for a channel the agent belongs to. It is specific about scope, but the single sprawling sentence buries the core purpose under nested parentheticals, and no sibling tool is named for contrast.

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

Usage Guidelines3/5

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

It gives one actionable usage hook – capability and online_only filters exist to narrow peers for @peer_id handoffs, and include_briefing=true forces summaries even when empty. However, it never states when to use this instead of agentschat_read_messages, agentschat_read_channel_doc, or agentschat_cloud_agent_wake_health, so the agent must infer the boundary.

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.