Skip to main content
Glama

oumv

Inspect supported code stacks with status, brief, and observe to return AST skeletons and seed the read cache, reducing token use before grep or full-file reads; search symbols and preview edits.

Instructions

Call this FIRST on an OUMV-supported stack: status/brief/observe before grep or full-file reads. OUMV runtime: 'status'|'observe' L0-L4 (a file target at L1+ returns the same skeleton a read would and seeds the read cache: a later smart_read_file returns a pointer)|'brief' (skeleton + call sites + props + module state in one call)|'understand'|'verify'|'mutate' (OCC edit)|'graph'|'index' (repo-wide symbol search: query, kinds?, limit?)|'preview' (dry-run diff, no write)|'build' (run the runtime's build/test command, §14.3)|'cancel' (cooperative, by requestId). Offline the static graph answers observe/understand/index and a labelled verify subset (exists/syntax/OCC/symbol/route presence). Observation is free on every plan; the write actions (verify, mutate, preview, build) need Solo or higher and are refused with a read-only notice on guest/free.

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

Input Schema

NameRequiredDescriptionDefault
pathNoFile to observe (becomes the target, L1 answers for that file) or the target repo root for status
batchNopreview: batch edits envelope (wire 1.5.0+)
kindsNoindex: symbol-kind filter (function, class, ...)
levelNo
limitNo
queryNo
actionNo
symbolNo
targetNo
payloadNoverify: request body/action payload; may carry expectedVersion and symbol for the offline static checks
requestIdNocancel: the requestId echoed by the target call
timeout_msNopreview/build: per-call budget (§3/§14.3)
replacementNo
verify_actionNoverify: action kind to verify (default invoke)
workspace_dirNoTarget repo root; for status/observe/understand/verify/graph/index/preview/build/cancel also accepted as path
expectedVersionNoOCC token from observe file.version; offline mutate enforces it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv4.16.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "status",
      -  "observe",
      -  "understand",
      -  "verify",
      -  "mutate",
      -  "graph",
      -  "index",
      -  "preview",
      -  "build",
      -  "cancel"
      -]New value: +[
      +  "status",
      +  "observe",
      +  "brief",
      +  "understand",
      +  "verify",
      +  "mutate",
      +  "graph",
      +  "index",
      +  "preview",
      +  "build",
      +  "cancel"
      +]
    • addedInput schema / properties / payload / description
      Added value: +"verify: request body/action payload; may carry expectedVersion and symbol for the offline static checks"
    • addedInput schema / properties / verify_action / description
      Added value: +"verify: action kind to verify (default invoke)"
    • addedInput schema / properties / verify_action / enum
      Added value: +[
      +  "invoke",
      +  "click",
      +  "submit"
      +]
  2. Changed14 schema fields changedv4.7.15
    • removedInput schema / properties / action / default
      Removed value: -"status"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "status",
      -  "observe",
      -  "understand",
      -  "mutate",
      -  "verify",
      -  "graph"
      -]New value: +[
      +  "status",
      +  "observe",
      +  "understand",
      +  "verify",
      +  "mutate",
      +  "graph",
      +  "index",
      +  "preview",
      +  "build",
      +  "cancel"
      +]
    • addedInput schema / properties / batch
      Added value: +{
      +  "description": "preview: batch edits envelope (wire 1.5.0+)",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / expectedVersion / description
      Added value: +"OCC token from observe file.version; offline mutate enforces it"
    • addedInput schema / properties / kinds
      Added value: +{
      +  "description": "index: symbol-kind filter (function, class, ...)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / level / enum
      Removed value: -[
      -  "L0",
      -  "L1",
      -  "L2",
      -  "L3",
      -  "L4"
      -]
    • addedInput schema / properties / limit
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / properties / path / description
      Added value: +"File to observe (becomes the target, L1 answers for that file) or the target repo root for status"
    • addedInput schema / properties / requestId
      Added value: +{
      +  "description": "cancel: the requestId echoed by the target call",
      +  "type": "string"
      +}
    • removedInput schema / properties / runtime
      Removed value: -{
      -  "enum": [
      -    "frontend",
      -    "backend",
      -    "auto"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / timeout_ms
      Added value: +{
      +  "description": "preview/build: per-call budget (§3/§14.3)",
      +  "type": "integer"
      +}
    • removedInput schema / properties / verify_action / description
      Removed value: -"Action name for action='verify' (e.g. click, submit)"
    • addedInput schema / properties / workspace_dir / description
      Added value: +"Target repo root; for status/observe/understand/verify/graph/index/preview/build/cancel also accepted as path"
    • removedInput schema / required
      Removed value: -[
      -  "action"
      -]
  3. Addedv4.6.2

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=false; the description adds the substantive behavior an agent needs: preview is a dry-run with no write, cancel is cooperative and keyed by requestId, mutate is an OCC edit gated by expectedVersion, observe at L1+ seeds the read cache, and offline mode serves only a labelled subset of verify checks. These are real operational constraints (paywall, cache side effects, cancellation semantics) that the annotations do 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.

Conciseness3/5

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

The first clause is well front-loaded, and the length is defensible for an eleven-action dispatcher. However, the middle is a single run-on with deeply nested parentheses and unresolvable references (§14.3, §3), forcing the reader to parse rather than scan; splitting the action list from the gating rules would preserve the content with less friction.

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 carries the return-value burden and does so partially: it says observe returns a file skeleton, that a later smart_read_file returns a pointer, that brief bundles skeleton plus call sites plus module state, and that preview yields a diff. For a 16-parameter, multi-mode tool it covers mode selection, gating, and offline behavior well, though the return shape for verify/mutate/build remains implicit.

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?

With 16 parameters and only 56% schema description coverage, the description does meaningful work: it explains level L0-L4, that path doubles as the observe target or the repo root for status, that index takes query/kinds/limit, that batch is the preview envelope, and that requestId is the cancel handle. Several parameters (symbol, target, replacement, workspace_dir aliasing) are only covered by the schema or not at all, so it falls short of full compensation.

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?

The description names a concrete entry point ("Call this FIRST on an OUMV-supported stack") and enumerates every action the dispatcher exposes (status, observe, brief, understand, verify, mutate, graph, index, preview, build, cancel), which lets an agent distinguish it from smart_read_file and grep. It loses a point because the opaque name 'oumv' and the absence of a single summarizing phrase make it hard to state the tool's purpose in one line without reading the whole action list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit ordering guidance is given (call FIRST, before grep or full-file reads) along with the alternative it displaces (smart_read_file returns only a pointer afterwards) and the offline fallback case. The description also states plan-level eligibility: observation is free on every plan while verify/mutate/preview/build require Solo or higher and are refused with a read-only notice.

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