Skip to main content
Glama

Link Shared Step

link_shared_step

Add a reference to a shared step within a test case's step list so its actions expand at execution time. Choose an insertion position or append to the end. Requires confirmation to proceed.

Instructions

Link a shared step to a test case. ⚠️ CAUTION: Destructive.

Adds a reference to the shared step in the test case's step list. The shared step's actions will expand at execution time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be set to True to proceed with linking. Safety measure.
positionNoWhere to insert the shared step (0-indexed, optional). 0 = Insert at beginning None = Append to end (default) N = Insert after step N (so it becomes the (N+1)th step)
project_idNoOptional override for the default Project ID.
test_case_idYesThe ID of test case to modify.
output_formatNoOutput format: 'json' (default) or 'plain'.
shared_step_idYesThe ID of shared step to link.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
stepsNoSerialized scenario steps.
actionNoRequested operation name.
statusNo
test_case_idNo
test_case_urlNo
shared_step_idNo
shared_step_urlNo
requires_confirmationNo
Behavior1/5

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

The description claims 'CAUTION: Destructive' but annotations set destructiveHint to false, creating a contradiction. This undermines trust; the description should align with annotations. Additionally, it provides some context about shared step expansion at execution time, but the contradiction is severe.

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 concise with three sentences: a clear purpose statement, a warning emoji, and a brief explanation of behavior. No unnecessary information; each sentence adds value.

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

Completeness3/5

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

Given the tool has 6 parameters, an output schema, and annotations, the description covers the basic function and a warning, but it does not explain how parameters interact or what to expect in the output. The contradiction with annotations further reduces completeness. The output schema is present but the description doesn't leverage it.

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%, so the schema fully documents all 6 parameters. The description adds no additional meaning beyond the schema (e.g., does not clarify 'confirm' requirement or 'position' behavior). Baseline score 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?

The description clearly states the verb 'Link' and the resource 'a shared step to a test case', defining a specific action. It distinguishes from sibling tools like 'unlink_shared_step' by indicating the opposite operation.

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 by explaining the function and adding a caution flag, but it does not provide explicit guidance on when to use this tool versus alternatives (e.g., when not to use it, prerequisites, or scenarios to avoid). There is no mention of when linking is appropriate or if there are constraints.

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/ivanostanin/lucius-mcp'

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