Skip to main content
Glama

Hashgrid DNA

update_node

PATCH /nodes/{nid}: change a node. key: a new path, or null to remove it, so the node can no longer be found; leave it out to keep it. emb: a new embedding; leave it out to keep it. Its scores keep training, on the new embedding. Returns its id and key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
embNo
keyNo
nidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does real work: it discloses that setting `key` to null makes the node un-findable (a destructive/orphaning side effect) and that scores continue training against the new embedding, plus it states the return shape. It omits permissions, behavior on a missing node, and embedding dimension constraints, keeping it short of a 5.

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 endpoint and resource, then each clause maps to one parameter with no filler sentences. It is somewhat compressed into backtick shorthand, which costs a little readability but wastes no words.

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 mutation tool with no annotations and an existing output schema, the description covers the destructive null-case, the side effect on training scores, and the return keys. Remaining gaps (auth needs, error behavior, embedding constraints) are minor given the output schema already handles the response shape.

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 0%, so the description must compensate, and it documents all three params well: `nid` as the path target, `key` as a new path with null=remove and omit=keep, and `emb` as a new embedding with omit=keep. The one weak point is that the schema declares `key` default as "" (empty string) while the description frames removal as null, a subtle mismatch an agent could trip on.

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 up front ('PATCH /nodes/{nid}: change a node'), which is unambiguous about what mutates. It implicitly distinguishes itself from edge siblings by operating on node ids, but never names an alternative (update_edge, delete_node), so separation relies on the reader inferring from the resource noun.

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?

The description explains parameter mechanics but gives no when-to-use vs when-not guidance and never references the neighboring update_edge/put_edge/delete_node tools. An agent must infer the selection criteria entirely on its own.

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