Skip to main content
Glama

AgentBin

Read graph

read_graph
Read-onlyIdempotent

A graph's name, description and node and link counts.

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": {
      "g": "<g>"
    },
    "name": "read_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
gYesId of a graph.
credentialNoThe bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the useful disclosure that only metadata and aggregate counts are returned rather than graph contents, which is real value beyond the annotations, though it says nothing about error behavior for a missing or unauthorized graph id.

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

Conciseness3/5

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

It is a single short noun phrase with no waste, but it is not a well-formed sentence and leads with the returned fields rather than the action. Brevity here edges toward under-specification rather than efficient front-loading.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, read-only metadata tool with full schema coverage, the description supplies the one thing structured fields cannot: what comes back (name, description, node and link counts). With no output schema, that return-value disclosure makes the definition sufficient to call correctly, the missing verb and sibling routing being the only shortfall.

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%, with both `g` and `credential` documented in-schema, including when to omit the credential. The description adds no meaning about parameter formats or constraints, so the baseline 3 applies.

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

Purpose3/5

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

The fragment "A graph's name, description and node and link counts" does convey what the tool returns, implying a metadata read for a single graph, but it never states a verb or that it reads. It also does not distinguish itself from siblings such as list_graphs or read_subgraph, which an agent must guess between.

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 when-to-use guidance at all: nothing says to pick this over list_graphs when enumerating, or over read_subgraph when node/link contents are needed. The phrase "node and link counts" hints at metadata-only scope, but that is inference, not guidance.

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.