Skip to main content
Glama

Get brain object

get_graph_object
Read-only

Get one object from the user's graph, with the objects connected to it (its edges, e.g. a person's spaces, a note's subject). Identify it by object_id (exact and preferred, search and list return it) or by name. Use this when the user asks about a specific thing in their graph, or to follow a connection you found on another object. Returns {found, object, fields, editable_fields, connected_objects, connected_total}: the record's name, description and object_id sit under object. When nothing matches, found is false with searched_for, and with matches when a name fits several objects. A person also has last_touch, the latest recorded contact with them or their other records in either direction (at, channel, direction). When last_touch is null or last_touch.date_known is false, their last contact is not available, which never means there was none: state no date and no length of silence for them.

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

Input Schema

NameRequiredDescriptionDefault
nameNoThe object's name (full or partial).
object_idNoExact node id (e.g. web_aBc123), if known.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description goes much further: it enumerates the return shape ({found, object, fields, editable_fields, connected_objects, connected_total}), describes the not-found result (found=false, searched_for, matches for ambiguous names), and warns that a null last_touch or date_known=false does not mean no contact occurred. That last caveat is interpretation guidance an agent could not get from annotations or schema.

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?

Front-loaded with the action and resolution strategy, then the return shape, then the edge-case caveats in order of likely need. It is dense and earns most of its words, though the last_touch sentence is long and could be split for readability.

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 2-parameter read tool with no output schema, the description covers the payload structure, failure and ambiguity paths, and the subtle semantics of the last_touch field. Nothing an agent needs to call it correctly or interpret the result is missing.

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 the baseline is 3. The description still adds value beyond the schema by stating object_id is 'exact and preferred' and that search/list return it, giving an agent a resolution order (id first, name as fallback) and a way to obtain the id that the parameter descriptions do not supply.

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 ('Get one object from the user's graph, with the objects connected to it') and clarifies scope versus lookups that merely return ids ('search and list return it'). An agent can distinguish this from search_graph_objects/list_graph_objects without opening either schema.

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?

Gives explicit triggers: 'when the user asks about a specific thing in their graph, or to follow a connection you found on another object.' It also implies the alternative path by noting that search/list produce the object_id this tool prefers. No explicit when-not exclusion is stated, which keeps it at 4 rather than 5.

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.