Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Create symbolic link

create_symlink
Idempotent

Create a symbolic link so a second path points to an existing file or folder; use it instead of copying when both paths should reference the same target.

Instructions

Create a symbolic link at link_path pointing to target. Use when: a second path should lead to a file or folder. Instead: create_hardlink for a second name of one file; copy_file for a copy. Behavior: only adds. A repeat fails with 'File exists'. Locally the target must also stay inside the root; it may dangle. Local disk, SFTP and NFS only. Time limit: 30 s. Returns: {ok: true}, plus target when the one stored differs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_symlink"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNoWhat the link points to: absolute, or relative to the link's folder, e.g. '../shared/data.csv'. SFTP and NFS store it as given. Required unless target_b64 is given.
backendNoBackend id from list_backends; omit for the default.
link_pathNoThe new link's own path; must not exist yet (absolute, or relative to the MCP root). Required unless link_path_b64 is given.
target_b64Notarget as base64 of its raw bytes, for non-UTF-8 names; replaces target.
link_path_b64Nolink_path as base64 of its raw bytes, for non-UTF-8 names; replaces link_path.

Output Schema

NameRequiredDescriptionDefault
okYes
targetNothe target stored, when not the one given

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A3.8/5.0
Behavior1/5

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

The description provides useful behavioral details, but it contradicts the idempotentHint=true annotation by saying 'A repeat fails with File exists.' This is an annotation contradiction.

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 front-loaded, segmented into Use when / Instead / Behavior / Returns, and contains no unnecessary wording.

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 multi-backend symlink tool, the description covers usage alternatives, root constraints, dangling targets, backend support, time limits, and return behavior. Its main completeness issue is the idempotency contradiction.

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 already explains target, link_path, backend, and base64 variants. The description mostly repeats or lightly emphasizes schema-provided semantics rather than adding substantial parameter meaning.

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 first sentence states a specific verb and resource: 'Create a symbolic link at link_path pointing to target.' It also clearly distinguishes this tool from create_hardlink and copy_file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly includes 'Use when' and 'Instead' sections, naming the relevant alternatives and the conditions that select them.

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