Skip to main content
Glama
mumez

smalltalk-interop-mcp-server

by mumez

Get Class Comment

get_class_comment
Read-only

Retrieve the comment for a Smalltalk class by providing its class name. Use this to read the class documentation and notes directly from the image.

Instructions

Get the comment of a Smalltalk class.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYesThe name of the class to retrieve comment for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.3.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds no further behavioral detail beyond the basic retrieval action, but for a simple read operation this is not a major gap.

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 clear sentence with no wasted words. It front-loads the verb and noun phrase, making the tool's purpose immediately understandable.

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

Completeness5/5

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

For a one-parameter read-only tool with an output schema and readOnlyHint annotation, the description is sufficient. An agent can determine the operation, the required input, and the expected safety profile without additional context.

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%: the single parameter class_name is already described as 'The name of the class to retrieve comment for'. The description does not add additional parameter-level meaning, but none is necessary given the full schema coverage.

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 states a specific verb ('Get') and a specific resource ('the comment of a Smalltalk class'), which clearly identifies the operation. It differentiates this tool from sibling tools like get_class_source by focusing on comments rather than source code.

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 when to use the tool: whenever a class comment is needed. However, it does not explicitly state when not to use it or mention alternatives such as get_class_source or get_method_source, so the routing guidance is only implicit.

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