Skip to main content
Glama

Garphield

Share a Garphield graph

garphield_share
Read-only

Get links that open a stored graph in the Garphield workbench and in its embeddable view, plus an iframe snippet. Depending on the host the link points at the stored document (anyone with the link can open it, until expiresAt), carries the whole document in the URL (selfContained), or, in the workbench, carries just the view of a built-in sample or generator. Rendering happens in the viewer's browser; a graph without saved positions is laid out when it opens.

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": {
      "doc": "<doc>"
    },
    "name": "garphield_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
docYesDocument reference: a stored document id, a file path, or "current" in the workbench.
themeNoEmbed theme. Default: the document's theme, if it has one.
chromeNoEmbed controls to show. Omitted: the embed's defaults. -wordmark takes the link off the Garphield wordmark; the mark stays.
targetNoWhich link `url` is: the full workbench ("app", default) or the chromeless embed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses important behavior: links may expose stored documents to anyone with the link until expiry, self-contained links carry the whole document, and workbench links may only carry a sample or generator view. It also explains that rendering occurs in the viewer's browser and that unsaved layouts are computed on open.

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 front-loaded with the core purpose and then explains link modes and rendering behavior. It is dense but mostly earns its space, though the second sentence packs several link variants into one long clause.

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?

With no output schema, the description does well by naming the returned artifacts: links and an iframe snippet. It still stops short of describing the actual response shape or error cases, but it covers the key behavioral context needed to call the tool.

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 schema already documents doc, theme, chrome, and target. The description adds context about document/link behavior but does not add much meaning to the theme or chrome parameters, and it references a 'selfContained' mode that is not exposed as an input parameter.

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 opening sentence states a specific action and output: getting links that open a stored graph plus an iframe snippet. It is clearly distinct from sibling tools like export or create, though it does not explicitly name or contrast them.

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 that it produces share links and embed snippets, but it never states when to choose this tool over alternatives such as garphield_export. There are no explicit exclusions or selection guidance beyond the implied sharing context.

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