Skip to main content
Glama
nikhilxnarula

sagemath-mcp

Is Efec Cubic Brick

is_efec_cubic_brick

Checks whether a given graph is an essentially 4-edge-connected cubic brick, reporting the first failed check if it is not.

Instructions

Is the graph an essentially-4-edge-connected cubic brick?

Checks cubic, then essentially 4-edge-connected, then brick, stopping at the first failure and naming it in "failed_check".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graphYesa graph6 string or a registry name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does meaningfully disclose the check order, short-circuiting, and the failed_check output field. It does not describe error behavior or return-value details, but the presence of an output schema reduces the need for that.

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 second paragraph is dense and informative, with no wasted words. The first sentence largely restates the title, which is mild redundancy, but the overall length is appropriate.

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 one-parameter predicate with an output schema, the description covers the essential behavior: what properties are checked, in what order, and where failure is reported. It omits definitions of the technical graph classes, but those are domain-specific and not critical for the intended audience.

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?

The input schema already fully documents the single graph parameter as a graph6 string or registry name, which is 100% coverage. The description adds no parameter-level nuance beyond restating that the graph is the object being tested.

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 names a precise predicate and spells out the ordered conditions: cubic, then essentially 4-edge-connected, then brick. This clearly distinguishes it from sibling tools like is_efec and is_brick by identifying the composite nature of the test.

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 description implies usage through its explicit check sequence and 'stopping at the first failure' behavior, but it never states when to prefer this tool over separate is_efec or is_brick calls. There is no explicit when-not or alternative guidance.

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