Skip to main content
Glama

get_document_backlinks

Read-onlyIdempotent

Find all documents that link to a specific document. Identify dependencies and references across the workspace.

Instructions

Finds all documents that link to a specific document.

Use this tool when you need to:

  • Discover references to a document across the workspace

  • Identify dependencies between documents

  • Find documents related to a specific document

  • Understand document relationships and connections

Args: document_id: The document ID to find backlinks for

Returns: Formatted string listing all documents that link to the specified document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint. Description adds that it returns a formatted string and details the argument. It is consistent with annotations and provides additional behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a purpose statement, use-case list, and sections for args and returns. It is concise, though the bullet list could be slightly trimmed without losing value.

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 single-parameter tool with output schema indicated, the description provides a reasonable overview. It specifies the return type (formatted string) but lacks details on the format or any edge cases.

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

Parameters2/5

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

The description for the parameter 'document_id' merely restates 'The document ID to find backlinks for,' adding little beyond the schema's title. With 0% schema description coverage, the description fails to compensate with format, constraints, or examples.

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 'Finds all documents that link to a specific document.' It uses a specific verb and resource, and distinguishes it from sibling tools by focusing on backlinks as a unique relationship.

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?

Provides a bullet list of use cases (discover references, identify dependencies, find related documents), but does not explicitly contrast with alternatives like search_documents or specify when not to use the tool.

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/fastmcp-me/mcp-outline'

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