Skip to main content
Glama

Record a decision about a finding

shoot_plan_record_decision
Read-only

Records a decision about one finding from shoot_plan_check (accepted, overridden or wont_fix), with the reason and who decided, so that you do not raise it again next session. We keep nothing: the answer is the updated decision log, and you must keep it and send it back to shoot_plan_check as dispositions. A finding with a remembered decision then comes back closed, with the reason, for as long as the evidence behind it is unchanged; if the evidence changes, it comes back open again. Input: plan; finding_id (a finding's id from shoot_plan_check); decision (accepted, overridden or wont_fix); reason (why, in plain words); by (who decided); optionally at (an ISO 8601 time with a zone, such as 2026-10-18T09:30:00Z; the time of the request if left out) and dispositions (the log you were given last time, to extend it: a later decision about the same finding replaces the earlier one, which stays as history). Output: dpl.dispositions/1, the log with this decision added. A finding_id the plan does not have is refused. No AI model runs. We don't keep the plan. We log a one-way fingerprint (hash) of it, its size, the tool, the type of client, the result and the time taken. Needs an agent key from a Shoot Plan account. Free, and it does not count towards the account's 3 free projects a month. Plans up to 8 MB and 120 calls a minute (5,000 a day).

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": {
      "plan": "<plan>",
      "finding_id": "<finding_id>",
      "decision": "<decision>",
      "reason": "<reason>",
      "by": "<by>"
    },
    "name": "shoot_plan_record_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoOptional: when it was decided, an ISO 8601 time with a zone, for example 2026-10-18T09:30:00Z. The time of the request if left out.
byYesWho decided: a name.
planYesThe plan itself: a dpl.plan/1 JSON object (not text inside a string). Call shoot_plan_format for the schema links and an example.
reasonYesWhy, in plain words. It is shown when the finding is closed by this decision.
decisionYesaccepted, overridden or wont_fix.
finding_idYesThe id of a finding in the shoot_plan_check result for this plan, for example f-3a9c51d02b7e.
dispositionsNoThe decision log: the dpl.dispositions/1 document shoot_plan_record_decision returned, exactly as returned. You keep it; we don't.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: states that no state is retained server-side, that only a one-way hash and metadata are logged, that an unknown finding_id is refused, and that an agent key plus rate/size limits apply. This is exactly the context an agent needs for a stateless compute-style call, and it is consistent with readOnlyHint=true since nothing is persisted.

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 purpose and the stateful-loop warning, and most sentences carry real information. It is dense and restates the input/output field list that the schema already covers, plus operational metadata, which is useful but not selection-critical.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers auth, limits, refusal behavior, statelessness and the closed/reopened lifecycle, which is everything an agent needs for a 7-parameter tool with nested objects. The output schema exists, yet the description's short mention of dpl.dispositions/1 is consistent rather than redundant.

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 100%, so the baseline is 3; the description earns more by explaining dispositions extension semantics (a later decision on the same finding replaces the earlier one, which remains as history) and the `at` default, which the schema does not convey. The replacement/history rule is genuinely beyond the schema text.

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 specific verb (records) and resource (a decision about one finding), scopes it to findings produced by shoot_plan_check, and enumerates the decision values. An agent can distinguish this from shoot_plan_apply_fix or shoot_plan_check without opening the schema.

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

Usage Guidelines4/5

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

Clearly establishes the workflow: decide on a finding so it is not raised again, keep the returned log and pass it back as dispositions to shoot_plan_check. It also explains the closed/reopened lifecycle based on evidence changes. It stops short of explicit when-not-to-use guidance (e.g. override vs. apply_fix), so a 4 rather than 5.

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