Skip to main content
Glama

Garphield

Create a Garphield graph

garphield_create

Create a stored graph document from data and return its reference (doc). Pass exactly one of: graph (node-link JSON: nodes [{id, ...attributes}] and edges [{source, target, ...attributes}]), table (CSV text for links, optionally nodes), file (a GEXF, GraphML, GML, node-link JSON, edge list, Matrix Market, graph6 or .gph text), or url. url fetches from three public sources only, and refuses every other site: a file on GitHub (raw.githubusercontent.com, a github.com///blob/... page, or a gist's raw link), a Google Sheet shared with anyone with the link or published to the web, or a table on a Wikipedia article (.wikipedia.org/wiki/; url.wikitable picks which). For a table, name the link columns with url.source and url.target. The result lists the bindable fields with their ids and types, the names a binding accepts.

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": "garphield_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoData fetched from a public link. A table's columns match case-insensitively; when source or target is missing, the error lists the columns.
fileNoA graph file in a format the workbench opens (not DOT).
nameNoTitle shown in the workbench and in share previews.
graphNoNode-link JSON. Nodes named only by a link are created. Ids are stored as strings.
tableNoTables as text. Columns match case-insensitively; numeric cells become numbers and blank cells stay missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, so the description's main added value is disclosing the scope of the outbound fetch (three allowed source families, everything else refused) and hinting at the return payload ('return its reference (doc)'). It does not state side effects such as name collisions, overwriting, quota or auth needs beyond the source-specific sharing requirements, which is a real gap for a creating tool with openWorld access.

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 purpose and the one-of-four rule are front-loaded in the first sentence, and the rest is dense, information-bearing detail rather than filler. It is a single long paragraph with some repetition of the schema's format list, so structure is good but not maximally tight.

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?

There is no output schema, yet the description covers the two things an agent needs back: the stored document reference (doc) and the bindable fields with ids and types. Combined with 100% schema coverage and nested-object detail, the definition is close to self-sufficient; only post-creation behavior and error conditions are left implicit.

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 coverage is 100%, so a 3 is the baseline, but the description genuinely adds cross-parameter semantics the schema cannot express: the one-of-four exclusivity, the role of url.source/url.target for tabular sources, and url.wikitable picking which Wikipedia table. It also summarizes the node-link structure and file formats, though the format enumeration largely repeats the schema's enum.

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 leads with a specific verb plus resource ('Create a stored graph document from data') and immediately names the four mutually exclusive input modes (graph, table, file, url), so an agent knows exactly what the tool produces and the shape of its inputs. It is clearly distinguishable from the other garphield_* siblings, which inspect, style, lay out, export, share or validate rather than create.

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?

'Pass exactly one of: graph, table, file, or url' is an explicit exclusivity rule, and the url mode carries hard exclusions ('url fetches from three public sources only, and refuses every other site') along with the per-source requirements for GitHub, Google Sheets and Wikipedia. What is missing is any reference to a sibling (e.g. when to validate or inspect instead, or what to do after creating), though no sibling appears to overlap this creation step.

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