Skip to main content
Glama

approve_joins

Approves chosen joins by edge ID, rejects the rest, then builds views, runs checks with repair, and builds the dashboard once the user agrees.

Instructions

Approve joins by edge id (omit approve for the recommended ones) and reject the rest, then build the views, run the checks (with repair) and build the dashboard. Edge ids must come from propose_joins or get_run. Only call this after the user has agreed to the joins.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>"
    },
    "name": "approve_joins"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
approveNo
reject_reasonNo

Output Schema

NameRequiredDescriptionDefault
errorNo
viewsNo
run_idYes
statusYes
warningsYes
proposalsNo
checks_totalNo
checks_passedNo
failed_checksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose the non-obvious pipeline: approving/rejecting edges triggers view building, check execution with repair, and dashboard construction. It also reveals the implicit bulk behavior that unlisted edges are rejected. Gaps remain: nothing about reversibility, expected duration/cost, or permissions of this evidently mutating, side-effect-heavy call.

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?

Three tight sentences front-load the action and its side effects, then the id provenance, then the gating condition. No filler, though the sentence enumerating the four downstream stages is long and could be broken up.

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?

An output schema exists, so return values need no explanation, and the description covers the compound side effects and the safety gate that matter most for a no-annotation mutation tool. It falls short only on `reject_reason` semantics and on whether the approval step is reversible.

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 0%, so the description must compensate. It does explain the key default semantics of `approve` ('omit `approve` for the recommended ones') and the implicit consequence of omission (everything else is rejected), but `reject_reason` (a 500-char string) is never mentioned and `run_id` is left entirely to the schema.

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?

Names a concrete verb and resource ('approve joins by edge id') and immediately discloses the full downstream effect set: build views, run checks with repair, build the dashboard. This distinguishes it from propose_joins and get_run, which are named as the only valid id sources.

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?

States an explicit precondition ('Only call this after the user has agreed to the joins') plus a prerequisite on data provenance ('Edge ids must come from propose_joins or get_run'), which effectively routes the agent to propose_joins when the precondition is unmet.

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