Skip to main content
Glama
hichana

Goal Story MCP Server

by hichana

goalstory_read_one_step

Retrieve detailed information about a specific goal step to support focused discussion and story creation within goal management narratives.

Instructions

Get detailed information about a specific step to support focused discussion and story creation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUnique identifier of the step to retrieve.

Implementation Reference

  • The handler/registration for the 'goalstory_read_one_step' tool. It constructs the API URL `/steps/${id}`, performs a GET request using the shared doRequest helper, and returns the step data as text content.
    server.tool(
      READ_ONE_STEP_TOOL.name,
      READ_ONE_STEP_TOOL.description,
      READ_ONE_STEP_TOOL.inputSchema.shape,
      async (args) => {
        const url = `${GOALSTORY_API_BASE_URL}/steps/${args.id}`;
        const result = await doRequest(url, "GET");
        return {
          content: [
            {
              type: "text",
              text: `Step data:\n${JSON.stringify(result, null, 2)}`,
            },
          ],
          isError: false,
        };
      },
    );
  • Tool definition object containing the name, description, and Zod input schema (requires 'id' string). This is used in the server.tool registration.
    export const READ_ONE_STEP_TOOL = {
      name: "goalstory_read_one_step",
      description:
        "Get detailed information about a specific step to support focused discussion and story creation.",
      inputSchema: z.object({
        id: z.string().describe("Unique identifier of the step to retrieve."),
      }),
    };
  • TypeScript interface defining the input shape for the tool (id: string).
    export interface GoalstoryReadOneStepInput {
      id: string;
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions retrieving 'detailed information' but doesn't disclose behavioral traits like whether this is a read-only operation (implied by 'read' in name), what format the information is returned in, error conditions, or any rate limits. The description is minimal and lacks crucial operational context.

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, well-structured sentence that efficiently communicates the core purpose and context. Every word earns its place, with no redundant information. It's appropriately sized for a simple read operation.

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's simplicity (1 parameter, no output schema), the description is incomplete. It lacks details on return values (no output schema), error handling, or behavioral traits (no annotations). While the purpose is clear, operational context is minimal, making it inadequate for confident agent use without additional inference.

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 has 100% description coverage, with the 'id' parameter fully documented. The description doesn't add any parameter-specific semantics beyond what the schema provides (e.g., no examples of valid IDs or format). With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate but doesn't need to.

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

Purpose4/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: 'Get detailed information about a specific step' (verb+resource). It distinguishes from siblings like 'goalstory_read_steps' (plural) by focusing on a single step. However, it doesn't explicitly differentiate from 'goalstory_read_one_goal' or 'goalstory_read_one_story' in terms of resource type.

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 context ('to support focused discussion and story creation'), suggesting when this tool might be valuable. However, it doesn't provide explicit guidance on when to use this vs. alternatives like 'goalstory_read_steps' (for multiple steps) or 'goalstory_read_one_goal' (for goals). No exclusions or prerequisites are mentioned.

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/hichana/goalstory-mcp'

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