Skip to main content
Glama

Get account graph

get_account_graph

Retrieves a customer account graph, including invoices, tickets, follow-ups, edges, and a summary, by customer ID or email for support and account review.

Instructions

Return a customer node together with linked invoices, tickets, follow-ups, graph edges, and a short summary. Requires role ops and scope graph:read.

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

Input Schema

NameRequiredDescriptionDefault
emailNoCustomer email if you do not have the id, for example billing@harborpine.example.
customerIdNoCustomer id, for example cus_harbor_pine. Provide this or email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the authorization requirement (role ops, scope graph:read), which is genuinely useful behavioral context. It does not say what happens when neither email nor customerId matches, whether the lookup is read-only/non-mutating, or how many linked items are returned and whether they are capped.

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

Conciseness5/5

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

Two sentences, no filler. The return payload is front-loaded and the access requirement follows. Every clause earns its place.

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 read-only lookup with no output schema, the description enumerates the returned contents well and states the auth requirement. The remaining gap is failure behavior (unknown customer) and any result-size limits, which an agent would want before calling.

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 both parameters (email, customerId) are already fully documented with examples in the schema. The description adds no meaning beyond that — it never mentions either parameter or the 'provide this or email' resolution rule. Baseline 3 applies when the schema does the work.

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?

States a specific verb ('Return') and an enumerated resource payload: customer node plus linked invoices, tickets, follow-ups, edges, and a summary. An agent knows exactly what it gets back. It does not distinguish itself from the siblings (create_followup, list_open_tickets), though those are clearly different operations, so the missing differentiation costs little.

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 only guidance is a precondition ('Requires role ops and scope graph:read'), which tells the agent whether it is permitted but not when to choose this tool over another. There are no explicit exclusions or alternative routes (e.g., use list_open_tickets for a flat ticket list). Usage is implied by the purpose rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.