Skip to main content
Glama

group_operation

Construct groups in SageMath and query their properties such as order, abelian status, cyclicity, center order, conjugacy classes, and exponent.

Instructions

Group theory: construct groups and query properties (order, is_abelian, center, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupYesSage group constructor, e.g. 'SymmetricGroup(5)', 'DihedralGroup(4)', 'CyclicPermutationGroup(6)', 'AlternatingGroup(5)'
sessionNoNamed workspace to use. Workspaces have independent variables; omit for 'default'.default
operationYesOne of: order, is_abelian, is_cyclic, center_order, conjugacy_classes_count, exponent

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It mentions 'construct' and 'query' but does not clarify side effects on sessions, whether it creates variables, or how results are returned. This is a notable gap for a tool with a session/workspace parameter.

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?

The description is a single, front-loaded sentence with no wasted words. It quickly establishes the domain and key capabilities, making it easy for an agent to parse.

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?

Given that the input schema comprehensively covers parameters and an output schema exists, the description is mostly complete. It lacks some operational details, such as workspace behavior, but is sufficient for selecting and invoking the tool correctly in most cases.

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 coverage is 100% and the schema clearly describes the 'group' and 'operation' parameters with examples. The description adds minimal value beyond that and includes a slight mismatch by saying 'center' while the schema uses 'center_order'. It also says 'etc.', which could misleadingly imply more operations than the fixed list.

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's purpose: 'construct groups and query properties' using group theory. It gives concrete examples like order, is_abelian, and center, which distinguishes it from sibling tools focused on other math domains.

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 for group theory operations but does not explicitly state when to prefer this tool over alternatives or mention exclusions. It is clear from context that it is for group-theoretic queries, but no direct comparison with sibling tools is provided.

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/XBP-Europe/sagemath-mcp'

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