Skip to main content
Glama
johnhenry

mallory-grapher

by johnhenry

session_open

Establish a reactive cell session for compute graphs, selecting generic or pre-wired graph-theory pipelines and optionally seeding inputs.

Instructions

Open a reactive cell session. kind "generic" starts empty; "graph-theory" pre-wires an edge-list -> analysis -> BFS pipeline (input cells: edgeListText, directed, startVertex; computed cells: parsed, analysis, bfsOrder). Optional seed sets input cells in the same call (overriding preset defaults). Sessions are in-memory and die with the server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
seedNo
Behavior4/5

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

With no annotations, the description carries the burden and discloses key behavioral facts: sessions are reactive, in-memory, die with the server, and 'seed' overrides preset defaults. It omits the return/handle semantics, but the core side effects and lifecycle are clearly stated.

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?

Three dense sentences present the main action first, then conditional details, then lifecycle; no filler words. The graph-theory specifics are compressed into a parenthetical list without losing clarity.

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

Completeness3/5

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

The description richly covers parameters and lifecycle, but because there is no output schema it should mention what session_open returns (e.g., a session handle/id) to support chaining with sibling session tools. That missing return-value contract keeps it from being fully complete.

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?

The schema provides only enum names and an open object with no descriptions (0% coverage), so the description compensates by explaining each kind's behavior and what seed does. It could specify seed's shape/keys more explicitly, but the stated semantics are actionable.

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 uses a specific verb ('Open') and resource ('reactive cell session'), and elaborates the two kinds ('generic' and 'graph-theory') with their exact cell setups. This clearly separates it from siblings like session_list_cells or session_close.

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?

It provides clear context for when to use the tool: starting a session, with explicit guidance on choosing 'generic' vs 'graph-theory' and how optional seed behaves. It does not spell out when-not-to-use or name alternatives, so it stops short of a 5.

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/johnhenry/mallory-grapher'

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