Skip to main content
Glama

Search chat

chat_search
Read-onlyIdempotent

Search the hub's chat by words, for the Hub widget's chat search. Internal to the Beringio widget: never call it yourself. Use read_hub_chat instead.

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": {
      "hub": "<hub>",
      "query": "<query>"
    },
    "name": "chat_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
hubYeshub key
queryYeswords to find, 2 to 100 characters

Output Schema

NameRequiredDescriptionDefault
hitsYes
partialYes
scannedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds genuinely non-obvious context — that this is widget-internal plumbing — which is the key behavioral fact for an agent. It does not describe match semantics or result limits, hence not a 5.

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?

Three short sentences with zero waste; the purpose, the exclusion, and the alternative are all front-loaded before any padding could appear.

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?

For a simple two-parameter tool with a 100%-documented schema, an output schema, and full annotation coverage, nothing an agent needs is missing. The critical fact — do not call this, use read_hub_chat — is stated unambiguously.

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%, documenting both 'hub' and 'query' including the 2–100 character constraint, so the schema carries parameter meaning. The description only gestures at word matching and adds no syntax or format detail beyond it, making the baseline 3 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 and resource ("search the hub's chat by words") and immediately distinguishes itself from the sibling read_hub_chat. An agent knows exactly what the tool does and that it is not the one to call.

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

Usage Guidelines5/5

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

Explicitly says never to call it and names the alternative (read_hub_chat) that should be used instead. This is the strongest possible when-not-to-use guidance, leaving nothing to inference.

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