Skip to main content
Glama

parse_notebook_python

Parse a Mathematica notebook using a Python-native parser. Supports multiple output formats including markdown, wolfram, outline, and json.

Instructions

[LEGACY] Parse a notebook with the Python-native parser.

Prefer read_notebook() unless you specifically need this older or narrower workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
output_formatNomarkdown
truncation_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must reveal behavioral traits. It only mentions 'legacy' and 'Python-native parser', but does not describe what parsing entails, side effects, permissions, or return format. The minimal information leaves the agent with significant unknowns about the tool's behavior.

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?

The description is very concise at two sentences, front-loading the legacy note and alternative recommendation. However, it omits parameter details, which would have been valuable. Still, it achieves efficiency without redundancy.

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?

Given the tool is legacy with three parameters, an output schema exists, but the description does not explain what the tool returns or any nuances of its operation. The agent lacks sufficient context to confidently invoke this tool correctly, especially regarding parameter usage and return values.

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

Parameters1/5

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

Schema description coverage is 0% and the description offers no explanation for any of the three parameters (path, output_format, truncation_threshold). The agent must rely solely on the schema, which lacks context like meaning of output format options or truncation threshold effect.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool parses notebooks using a Python-native parser and explicitly distinguishes it from the preferred alternative `read_notebook()`. The verb 'parse' and resource 'notebook' are specific and unambiguous.

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?

The description explicitly advises to prefer `read_notebook()` unless the older or narrower workflow is needed. This provides clear guidance on when to use this tool and when to avoid it, with a direct reference to an alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AbhiRawat4841/mathematica-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server