Skip to main content
Glama

create_org_share_link

Make a link that gives access to a folder or document. Two audiences: omit emails and anyone who opens it can claim it, or pass emails and only those addresses can — safe to forward either way, but only the second is safe to post. Use it when you have been asked to share something and have no addresses, or have them and would rather send one link than mail everybody. Sends nothing by itself; access happens when a person opens it and signs in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYeswhat whoever opens the link gets: reader opens it; writer also edits; owner also decides who else gets in
tokenNoBearer token identifying the principal. Usually omitted — supplied by the transport (HTTP Authorization header or the server's AGENTLEFS_TOKEN env). Only pass this to override.
emailsNorestrict the link to these addresses — only they can claim it, whoever else ends up holding it. Omit for a link anyone who opens it can use.
locationYesfull path from the workspace root, e.g. "handbook/vendor/acme.md" (as printed by list_org_docs or search_org_knowledge)
scope_typeNodefault folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries full behavioral burden and handles it: it discloses restriction semantics, forwarding/posting safety, that no message is sent by the call, and that access requires opening the link and signing in. This goes well beyond a simple 'create link' statement.

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?

Three sentences front-load the action and scope, then compress audience logic, usage decision, and side-effect behavior with no filler. Every sentence adds a distinct idea.

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

Completeness5/5

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

For a 5-parameter tool with no annotations and no output schema, the description covers purpose, usage decision, audience restrictions, side effects, and sign-in requirement; remaining details like return format are not needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description adds real extra meaning for `emails` (omit vs pass behavior, forwarding versus posting safety) and confirms the link's audience model. Other parameters such as `role` and `scope_type` are already fully covered by schema descriptions.

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 opens with a specific action ('Make a link') and target resource ('folder or document'), then immediately distinguishes the two sharing audiences. Although it doesn't name an alternative sibling, the conditions ('rather than mail everybody') separate it from email-based sharing, so an agent can readily identify what the tool is for.

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?

Explicitly gives the decision context: use when you have no addresses, or have addresses and prefer a single link over mailing everyone. It also clarifies when each audience mode is safe ('safe to forward', 'safe to post'). It does not name an alternative tool such as share_org_folder or state a when-not, so not a full 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources