Skip to main content
Glama

get_link

Read-only

Get a link: what it plays, its page, embed and playback URLs, and whether it was revoked.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "link_id": "<link_id>"
    },
    "name": "get_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe link, `lnk_…`.

Output Schema

NameRequiredDescriptionDefault
idYes`lnk_…`.
urlYesThe view page.
nameNoA name people recognize it by; absent when it has none.
autoplayYesWhether the video starts playing when the page opens.
controlsYesWhether the player shows its controls.
embed_urlYesThe page to put in an iframe.
created_atYesRFC 3339.
created_byYesThe API key or member that created it.
expires_atNoRFC 3339.
project_idYesThe document's project.
revoked_atNoRFC 3339.
document_idYesThe document it plays.
password_protectedYesWhether viewers need a password to watch it. The password itself is never shown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, covering the safety profile. The description adds that it returns whether the link was revoked, which is useful context, but does not mention permissions, rate limits, or other behavioral details. With annotations present, a 3 is appropriate.

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 a single, front-loaded sentence that lists the key return fields without any redundant wording. Every element contributes to understanding the tool's output.

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?

The tool is simple (one parameter, output schema exists) and the description covers the core operation and return fields. It is nearly complete, but the lack of guidance on distinguishing from the similar 'get_link_playback' sibling leaves a minor gap.

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%, so the single parameter 'link_id' is fully documented in the input schema. The description adds no additional meaning about the parameter, so the baseline of 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Get a link') and enumerates the fields returned, making the purpose clear. However, it does not explicitly differentiate from the sibling 'get_link_playback', which could overlap in scope, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives like 'get_link_playback' or 'create_link'. The description simply states what the tool does without exclusions or recommended contexts.

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