Skip to main content
Glama

list_lead_messages

Read-only

List a lead's channel messages (newest first). Optional channel filter.

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": {
      "lead_id": "<lead_id>"
    },
    "name": "list_lead_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of entries to return
channelNoOnly return messages of this channel
lead_idYesID of the lead

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / channel / description
      Added value: +"Only return messages of this channel"
    • addedInput schema / properties / lead_id / description
      Added value: +"ID of the lead"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of entries to return"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare a safe read (readOnlyHint=true, openWorldHint=false), so the bar is lower. The description adds one real behavioral fact beyond them — results come back newest first — but says nothing about pagination behavior or how limit interacts with ordering.

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 compact sentences, front-loaded with the operation and its ordering, then the optional narrowing filter. Nothing is wasted and nothing important is buried.

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?

For a simple read-only list with full schema coverage and annotations carrying the safety profile, the description covers the essentials; only pagination/limit-default behavior is left unaddressed, which is minor here.

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 three parameters are already documented in the schema and baseline is 3. The description only restates that channel acts as a filter and is optional, adding no format or default semantics.

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?

Specific verb and resource: "List a lead's channel messages (newest first)" tells the agent exactly what is returned and in what order. It does not name or distinguish itself from sibling listers such as list_inbound_messages or list_mattermost_messages, but the lead-scoped framing is clear enough to select on.

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 only implied: the required lead_id makes it obvious this is a per-lead lookup, and the optional channel filter hints at narrowing. There is no explicit statement of when to prefer this over the other message-listing siblings, or any exclusion.

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.