Skip to main content
Glama

get_notebook_metadata

Read-onlyIdempotent

Retrieve metadata for an allowlisted notebook using its notebook ID, enabling inspection of notebook details before source and note operations.

Instructions

Retrieve metadata for 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>"
    },
    "name": "get_notebook_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
notebook_idYes

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 already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety needs no restating. The description adds only the 'allowlisted' access qualifier; it does not say what metadata is returned, what happens when the notebook is not allowlisted (error vs. empty), or any rate/auth behavior beyond the access hint.

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 short sentence with zero filler, and the access qualifier is front-loaded alongside the verb and resource. It is efficient, though it leans on brevity rather than structuring information the agent needs.

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?

With no output schema, the description should characterize what 'metadata' actually contains and how the notebook_id must be sourced; it does neither. For a simple read tool the annotation coverage limits the damage, but an agent still lacks enough 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% for the single notebook_id parameter, so the schema supplies no meaning and the description must compensate. It implies the ID must reference an allowlisted notebook but gives no format, provenance, or example (e.g., from list_notebooks), leaving the only parameter underspecified.

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 ('Retrieve') and resource ('metadata for an allowlisted notebook'), so an agent can tell this apart from query_notebook, select_notebook, and get_artifact_metadata by resource. It stops short of explicitly naming a sibling or contrasting behavior, so it is clear but not fully differentiated.

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, no mention of alternatives like query_notebook for content versus metadata, and no prerequisite steps such as obtaining the notebook_id via list_notebooks or select_notebook. Only the word 'allowlisted' hints at a usage constraint.

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