Skip to main content
Glama

Garphield

Inspect a Garphield graph

garphield_inspect
Read-only

Describe a stored graph: size, whether it has saved positions, its data fields (ids to bind, type num or cat, missing counts, ranges or example values), the channels and the types each accepts, the computed algorithms, the current view config (bindings, filters and saved sets), and a quality grade of the saved layout. The field ids it lists are the names a binding accepts.

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_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
docYesDocument reference: a stored document id, a file path, or "current" in the workbench.
includeNoSections to return. Default ["fields", "channels", "config"]. "algorithms" lists computed sources (degree, louvain, ...) with their params; "scales" gives what each binding draws (every value's mark, label and count, or the numeric domain and range), in the form a binding's scale takes; "quality" grades the saved positions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the description adds substantive return-content detail (missing counts, ranges, quality grade). However, with no output schema it does not describe the shape of the returned object, section ordering, or how the include sections relate to the default response.

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?

A single colon-led sentence that front-loads the action and then lists the returnable sections compactly; the trailing note about binding names is the highest-value sentence. The enumeration is dense but each item maps to real output content, with only mild list-fatigue cost.

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 carries the burden of explaining returns and does so thoroughly across all six includable sections. The only gap is that the include-selection mechanic and defaults live solely in the schema, so an agent skimming the description alone may not realize the response is section-filterable.

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 description coverage is 100%, so both 'doc' (id, path, or "current") and 'include' (section enum with defaults) are fully documented in the schema. The description does not mention either parameter, so it adds no meaning beyond the structured fields; baseline 3 applies.

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?

States a specific verb and resource ('Describe a stored graph') and then enumerates exactly what is described: size, saved positions, fields with type/missing counts/ranges, channels, algorithms, view config, and layout quality grade. This clearly separates it from the mutation-oriented siblings like garphield_style or garphield_layout without needing to name 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?

Usage is only implied: the closing note that 'the field ids it lists are the names a binding accepts' hints this is the discovery step before binding in the style/layout tools, but the description never states when to call this versus garphield_validate or garphield_focus, and gives no exclusions or prerequisites.

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