Skip to main content
Glama

Put a chat in Needs you

flag_for_team

Flag a chat so it waits for the team under Needs you, with an optional note (up to 500 characters). Credited to the person this connection acts for.

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": {
      "contact": "<contact>"
    },
    "name": "flag_for_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
brandNoWhich assistant (its slug from get_overview `brands[].slug`). Leave out when the business has one.
contactYesThe chat's contact key, from list_chats, list_needs_you or search_chats (`contact`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description doesn't need to restate that. It does add real context beyond the annotations – attribution ('credited to the person this connection acts for') and the note cap – but omits whether flagging is idempotent, whether teammates are notified, and what happens if the chat is already flagged.

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?

A single front-loaded sentence that puts the state change first, then the optional parameter detail, then attribution. Nothing is redundant or padded.

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

Completeness3/5

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

For a low-risk mutation with no output schema and clear annotations, this is close to sufficient, but it never says what a successful flag returns or how already-flagged, unknown-contact, or invalid-brand cases behave – details an agent needs to handle failures.

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 67% and it already documents contact (source keys) and brand (slug from get_overview). The description's addition is the note being optional and capped at 500 characters, but the note field itself has no schema description, so the gap is only partly closed. Baseline 3 is appropriate.

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 (Flag) and resource (a chat) plus the concrete outcome: it waits for the team under Needs you. An agent can distinguish this triage/handoff action from the read-side sibling list_needs_you without opening either schema.

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?

Usage is implied by 'waits for the team' – escalate a chat to human/team attention – but the description never says when to prefer this over closing, replying, or simply reading the chat, and offers no exclusions or prerequisites.

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