Skip to main content
Glama

BYOKG

Find rooms

find_rooms
Read-onlyIdempotent

Find Meaning-Spaces by what they are about, when the user names a topic or asks which rooms exist; pass the chosen namespace_id to the other tools. Input: no required field; context ranks the rooms, limit and cursor page them. Returns rooms ranked for the given conversation context by deterministic word overlap with each room's title, name and description, each naming its visibility; score is overlap, not confidence, and an empty context lists every room by title. With the MCP token the user's own rooms, private and public, and every public room; without it the public rooms only. Show the ranked titles and let the user confirm. No model call sees the context and nothing is stored. When truncated, pass next_cursor as cursor (same context) for the next page. Use it when the user asks for a room or mentions a topic a room may cover; the chosen namespace_id goes to search, fetch, query_graph_neighbors, query_graph_paths or get_node_stats. context is what the user is working on or asking about, in their words; it is used only for lexical ranking. Example: {"context": "gene ontology biological process"}. (Named find_shared_rooms until contract 4.0.0.) The contract revision in force is the one every response repeats in _meta.contract_revision and server_info reports; a revision note (Added in, Since) says when a field or a tool appeared, never which revision is current.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRooms per page.
cursorNonext_cursor of the previous page of the same request.
contextNoWhat the user is asking about, in their words; used only for ranking.

Output Schema

NameRequiredDescriptionDefault
itemsYes
truncatedYes
next_cursorNoAdded in contract revision 3.2.0. Set exactly when truncated is true; send it as cursor for the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: discloses the ranking algorithm (deterministic word overlap on title/name/description), warns that score is overlap rather than confidence, states that no model sees the context and nothing is stored, and spells out the auth-dependent result set (own private+public rooms with a token, public only without). Pagination behavior via next_cursor is also described.

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

Conciseness3/5

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

The purpose is front-loaded, but the paragraph is dense and re-states the namespace_id handoff twice. The closing sentences about contract revisions and _meta.contract_revision are boilerplate that does not help an agent decide or invoke, and the parenthetical rename note is incidental.

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 listing/ranking tool with 3 optional params and an output schema, everything needed is present: ranking semantics, empty-context behavior, auth-scoped visibility, and truncation handling. No essential calling information is missing.

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

Parameters4/5

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

Schema coverage is already 100%, so this is above baseline because the description explains the semantic role of context ("what the user is working on or asking about, in their words; used only for lexical ranking") and supplies a concrete example value. limit and cursor are only restated as paging, which the schema already covers.

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 — "Find Meaning-Spaces by what they are about" — and immediately ties the result to downstream tools ("pass the chosen namespace_id to the other tools"). An agent can distinguish this from search/fetch/check_room without opening a schema.

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?

Gives explicit triggers ("when the user asks for a room or mentions a topic a room may cover") and names the follow-on tools that consume the chosen namespace_id. It also covers the edge case of an empty context, so the agent knows what to do when no topic is known.

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