Skip to main content
Glama

Incrementally update graph

orangepro_update_graph
Idempotent

Refresh the local graph from changed files using incremental, non-destructive updates; preserves evidence and marks affected generated tests stale.

Instructions

Refresh the local graph from changed files. Incremental and non-destructive by default — preserves evidence and marks affected generated tests stale.

Input Schema

NameRequiredDescriptionDefault
workspaceNoLocal workspace root. Defaults to the current directory.
force_full_rebuildNoForce a full rebuild instead of an incremental update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv0.2.59

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), the description discloses real side effects: evidence is preserved and affected generated tests are marked stale. That is genuinely useful context that the annotations alone would not convey.

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 compact sentences with zero filler; the core action comes first and the side-effect caveat follows immediately.

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 two-optional-parameter mutation tool with no output schema, the description covers action, default mode, and side effects. It leaves open whether a prior graph must exist and what the caller gets back, but the essentials are present.

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 are already documented. The description only echoes the default behavior ("incremental and non-destructive by default") without adding format or interaction details beyond the schema, so baseline 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?

"Refresh the local graph from changed files" gives a specific verb (refresh) and resource (local graph) with scope (changed files only). It is clearly distinct from analyze_sources or graph_score, though it never names a sibling explicitly.

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 phrase "from changed files" implies this is the post-edit refresh step, but no explicit when-to-use guidance, prerequisites, or alternatives (e.g., when to prefer a full rebuild or run start first) are stated.

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