Skip to main content
Glama

query_notebook

Submit a grounded question to an allowlisted notebook and receive cited answers drawn from its sources. Use it to query specific notebooks by ID without exposing credentials.

Instructions

Submit a grounded question to an allowlisted notebook.

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": {
      "notebook_id": "<notebook_id>",
      "question": "<question>",
      "request_key": "<request_key>"
    },
    "name": "query_notebook"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYes
source_idsNo
notebook_idYes
request_keyYes
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, so the agent knows this is a non-idempotent write-ish operation, yet the description never explains what state is created or whether repeated calls differ. It also omits cost/latency expectations despite a timeout_seconds range up to 900 seconds and offers nothing about the returned answer or citations. No contradiction with annotations, but the description adds almost no behavior beyond them.

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

Conciseness4/5

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

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity comes at the cost of substance rather than being a model of tight specification.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, non-idempotent tool with no output schema and zero schema documentation, the definition is far too thin. It omits return-value expectations, request_key semantics, timeout behavior, and source_ids scoping, leaving the agent unable to call it confidently.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description carries the full burden and fails: it only loosely implies notebook_id and question. The most confusing parameter, required request_key with idempotentHint=false, and the optional source_ids and timeout_seconds are completely unexplained.

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 gives a specific verb (submit) and resource (a question) scoped to 'an allowlisted notebook', which is more than a restatement of the name. It does not differentiate itself from siblings like get_notebook_metadata or list_sources, and 'grounded' is unexplained jargon, but the core action is understandable.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of prerequisites such as how a notebook becomes 'allowlisted' or how to obtain a valid notebook_id from list_notebooks or select_notebook. An agent must infer the entire call context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.