Skip to main content
Glama
sbl-sdsc

MCP GeneLab Server

by sbl-sdsc

get_output_directory

Read-onlyIdempotent

Retrieve the configured output directory for your GeneLab session, or learn no path is set and how to set one for saving analysis results.

Instructions

Return the currently-configured output directory for this session.

Returns the path previously set by set_output_directory in the same session, or a note explaining that no path has been set yet (and how to set one).

Input Schema

NameRequiredDescriptionDefault
session_idNoSession id returned by `create_session()`. This server serves many users from one process; the session id is what keeps your output directory and generated plots private to you. Pass the SAME value on every tool call. If the server replies that the session is unknown or expired, call `create_session()` again and use the new id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety is covered. The description goes further by disclosing session-scoped behavior (the path is tied to the same session) and the exact shape of the return (a path or a note with remediation), which is genuinely useful beyond the annotations.

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?

Two sentences, zero filler, with the core action front-loaded and the return-value behavior in the second sentence. Every clause earns its place.

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 read-only getter whose annotations cover the safety profile and have no output schema, the description fills the important gap by explaining what is returned (a path or an explanatory note). Complete enough to call correctly; only the session-expiry reply handling is left to the schema's session_id text.

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 single session_id parameter is fully documented in the schema, including the multi-user privacy rationale and the re-create-on-expiry guidance. The description adds nothing param-specific, so the baseline 3 applies.

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?

States a precise verb+resource (return the configured output directory) scoped to the current session, and explicitly ties it to its sibling set_output_directory. An agent can distinguish it from set_output_directory without opening either schema.

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?

The description makes the retrieval context clear and names set_output_directory as the mechanism that populates the value, plus explains the empty case and how to fix it. It does not spell out an explicit 'use this when...' trigger, but the counterpart relationship is unambiguous.

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