Skip to main content
Glama

BYOKG

List rooms

list_knowledge_graphs
Read-onlyIdempotent

List the Meaning-Spaces the MCP token's account may use, when the user asks which rooms exist; without the token, find_rooms lists the public ones. Input: no required field; limit and cursor page the list. Returns only the account's authorized rooms, by stable account identity independent of OAuth token rotation, each naming its visibility (PUBLIC or PRIVATE); without the token the list holds the public rooms only, and _meta.auth says which caller you are. At most limit (100) rooms per page in name order; when truncated, pass next_cursor as cursor until it is null. Never return physical FalkorDB graph key. Example: {}. Since contract revision 4.9.0 every room names its visibility. 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": "list_knowledge_graphs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRooms per page, in name order.
cursorNonext_cursor of the previous page.

Output Schema

NameRequiredDescriptionDefault
itemsYes
truncatedNoAdded in contract revision 3.2.0. More rooms follow; next_cursor reaches them.
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.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, but the description adds substantial behavior beyond them: results are scoped to the account's authorized rooms, identity is stable across OAuth token rotation, each room names its visibility, the response carries _meta.auth identifying the caller, and physical FalkorDB graph keys are never exposed. It also spells out the pagination contract (pass next_cursor as cursor until null).

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 and pagination guidance are front-loaded and earn their place, but the closing passage about contract revision 4.9.0, where revision notes live, and which revision is in force is boilerplate that does not help an agent decide to call this tool or call it correctly. It inflates the definition noticeably without aiding selection.

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?

With an output schema present, return values need not be described in detail, yet the description covers scoping, visibility labeling, pagination, and _meta.auth, which is ample for a two-optional-parameter read tool. The remaining gap is that it never states plainly that Meaning-Spaces, rooms, and knowledge graphs are the same entity, leaving the agent to reconcile three names.

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 100%, so the baseline is 3, but the description adds procedural meaning the schema cannot express: results come back in name order, the page is capped at limit (100), and next_cursor from the prior page must be fed back as cursor until it is null. That is a genuine addition over the two bare field descriptions.

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 opens with a specific verb and resource ("List the Meaning-Spaces the MCP token's account may use") and immediately distinguishes the authorized-only scope from the public listing done by find_rooms. The one weakness is terminology drift — the tool name says knowledge graphs, the title says rooms, and the description says Meaning-Spaces and rooms — which forces the agent to infer these are the same object.

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?

It names the triggering condition ("when the user asks which rooms exist") and names the alternative with the condition that selects it ("without the token, find_rooms lists the public ones"). The explicit alternative plus exclusion is exactly what the rubric reserves top marks for.

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