Skip to main content
Glama

Lattice

Look up an id

graph_lookup
Read-onlyIdempotent

Find nodes by exact external id, e.g. CVE-2021-44228, T1059.001, CWE-79. Returns each match with its source (a CVE has a kev node if CISA lists it as exploited, and an nvd node) and a uid for graph_node and graph_neighbors. An empty items list means the graph has no such id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExact external id, for example CVE-2021-44228, T1059.001 or CWE-79. Case-insensitive; prefixes and free text do not match (use graph_search for a prefix).
labelNoOptional node label (type) to restrict the answer to, for example CVE, Technique or Detection. The valid labels are listed by graph_meta; an unknown label is refused with the valid ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Exact external id, for example CVE-2021-44228, T1059.001 or CWE-79. Case-insensitive; prefixes and free text do not match (use graph_search for a prefix)."
    • addedInput schema / properties / label / description
      Added value: +"Optional node label (type) to restrict the answer to, for example CVE, Technique or Detection. The valid labels are listed by graph_meta; an unknown label is refused with the valid ones."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds real behavioral value beyond that: it explains the result shape (each match with its source, kev/nvd nodes for CVEs, a uid usable with graph_node/graph_neighbors) and defines the empty-items case as 'no such id' rather than an error.

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 tightly packed sentences: the lookup rule and examples come first, followed by the return semantics and the empty-result edge case. No filler, and every clause carries information an agent needs.

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, so the description must carry return semantics — and it does explain match structure, source nodes, the uid chaining into graph_node/graph_neighbors, and the empty-list meaning. The label filter is left entirely to the schema, which is a minor gap given the otherwise strong coverage.

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% — both the id format (case-insensitive, no prefixes) and the label semantics (valid labels from graph_meta, unknown labels refused) are fully documented in the schema. The description adds no parameter meaning beyond what the schema already states, so the baseline of 3 applies.

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 and resource ('Find nodes by exact external id') and grounds it with three concrete id examples (CVE-2021-44228, T1059.001, CWE-79). It does not itself differentiate from siblings like graph_search or graph_node, though that distinction lives in the schema rather than the description.

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 by the word 'exact' — the reader infers this is not for prefix/free-text lookups, but the explicit 'use graph_search for a prefix' routing lives in the schema's id description, not the tool description. The empty-result note is helpful context but is not when-to-use 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.

Resources