Skip to main content
Glama

Get Shared Precondition

get_shared_precondition

Retrieve details of a shared precondition by providing its ID and project code.

Instructions

Fetch details for a single shared precondition by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectCodeYesProject code identifier (e.g., BDI)
sharedPreconditionIdYesIdentifier of the shared precondition

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the precondition
textYesPrecondition text (HTML format)
typeYesType of the precondition. Known values: "standalone" | "shared"
titleNoTitle of the precondition (only for shared preconditions)
versionYesVersion of the precondition
isLatestYesWhether the precondition's version is the latest
createdAtYesPrecondition creation time (ISO 8601)
deletedAtNoPrecondition deletion time (ISO 8601)
projectIdYesProject id the precondition belongs to
updatedAtYesPrecondition last-update time (ISO 8601)
Behavior3/5

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

No annotations provided, so description carries full burden. 'Fetch' implies read-only, which is adequate but minimal. Does not mention error handling or authorization needs.

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?

Single sentence with 8 words, extremely concise and front-loaded. No wasted words.

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?

Simple fetch operation with output schema present. Description is sufficient for the tool's complexity, though lacks context on how to obtain precondition IDs.

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% with descriptions for both parameters (projectCode, sharedPreconditionId). Description adds no additional parameter context, so baseline of 3 is appropriate.

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?

Description clearly states the action (Fetch details), the resource (shared precondition), and the method (by ID). It distinguishes from sibling tools like list_shared_preconditions which list all.

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?

No explicit guidance on when to use this tool vs alternatives, such as list_shared_preconditions. Context is implied but not stated.

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/Hypersequent/qasphere-mcp'

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