Skip to main content
Glama

Expand with facts

expand_node
Idempotent

Gather facts about a bubble from the web (with source links) and, for goals, suggest next steps. Runs in the background on a small model; returns facts if they arrive within wait_seconds, otherwise call get_node later.

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": {
      "node_id": "<node_id>"
    },
    "name": "expand_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idYesBubble id (the {id} shown in get_map / search_brain results).
wait_secondsNoHow long to wait for the result (default 25).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=true and destructiveHint=false. The description adds genuinely new context: background execution on a small model, web sourcing with links, and the async wait/poll contract with get_node. However it doesn't describe failure modes, result quality limits of the small model, or what happens if no facts are found, so it goes beyond annotations but not richly.

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 sentences, front-loaded with the primary action and outcome, followed by the async mechanics. No redundant or filler wording.

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 no output schema, the description adequately covers the return: facts with source links and suggested next steps for goals. It doesn't clarify what a 'bubble' is or what an empty/failed result looks like, but nothing essential for calling it correctly 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 100%, so the baseline is 3. The description earns above baseline by explaining the consequence of wait_seconds (facts returned only if they arrive in time, otherwise poll get_node), which the schema's 'how long to wait' phrasing does not convey.

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?

States a specific verb and resource: 'Gather facts about a bubble from the web (with source links)' plus the goal-specific behavior of suggesting next steps. It also hints at its relationship with the sibling get_node as the polling fallback, though it never explicitly contrasts the two entry points.

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

Usage Guidelines4/5

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

Gives clear operational context: it runs in the background and returns results only if they arrive within wait_seconds, otherwise the agent should call get_node later. That is actionable when-to-use guidance, but there is no explicit statement of when not to use it or what alternatives exist besides the polling fallback.

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