Skip to main content
Glama

extract_definitions

Scans a note or entire vault to find definition-like sentences and compile them into a glossary, optionally saving the glossary to a specified note.

Instructions

Find and compile all definition-like sentences across the vault (or a note) into a glossary. Detects 'X is a...', 'X refers to...', 'X: ...' and bold-dash patterns.

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": "extract_definitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoVault-relative path to a single note. Omit to scan the entire vault.
destinationNoVault-relative path to save the glossary note. Omit to return without saving.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the detection heuristics ('X is a...', 'X refers to...', 'X: ...', bold-dash), which is real behavioral value, but it does not say whether the tool writes to the vault when a destination is given, whether it is read-only otherwise, or what the returned structure looks like.

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 tight sentences, front-loaded with the action and scope, followed by the concrete detection patterns. There is no filler.

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?

For a two-optional-parameter tool with no output schema and no annotations, the description covers the operation, scope, and output artifact (a glossary) well. The remaining gap is the shape of the return value when nothing is saved, which the schema only partially addresses.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented, and the description only echoes the vault-vs-single-note scope. It adds no syntax, path-format, or overwrite semantics beyond the schema.

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 pair (find and compile) and resource (definition-like sentences) plus the output artifact (a glossary). It is distinguishable from extract_concepts/extract_quotes only implicitly, through the enumeration of definition patterns, not by any explicit contrast.

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

Usage Guidelines3/5

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

The scope phrase 'across the vault (or a note)' implies when the whole-vault vs single-note mode applies, but there is no guidance on when to prefer this over sibling extractors like extract_concepts, and no stated exclusions.

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