Skip to main content
Glama

Tomorrow Central: Cloud Cost Sentinel

Draft a fix for a finding

webops_draft_fix
Destructive

Drafts the fix for a finding where Website Growth Ops can: new page titles and meta descriptions (checked against the page's own facts before they are kept), or internal links. Uses one of the organization's monthly drafts per page. A draft changes nothing on the website; a person proposes it from the page. The finding and its evidence_id come from webops_finding; when the evidence has changed since, nothing is recorded and the answer says to read the finding again. Nothing happens until the person confirms: this returns a summary and a code for tc_confirm.

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": {
      "finding_id": "<finding_id>",
      "domain": "<domain>",
      "evidence_id": "<evidence_id>"
    },
    "name": "webops_draft_fix"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes
finding_idYes
evidence_idYes

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?

Beyond the annotations it discloses quota consumption ("Uses one of the organization's monthly drafts per page"), a concrete mutation-safety guarantee ("A draft changes nothing on the website"), an optimistic-concurrency behavior on stale evidence, and a human-confirmation gate. These are exactly the operational facts an agent needs before invoking a non-idempotent, non-read-only tool, and they reconcile rather than contradict the destructiveHint=true annotation.

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?

The key facts — fix types, quota cost, no-op behavior, precondition, and confirmation gate — are front-loaded and each sentence carries information. Some sentences are run-on ("Drafts the fix for a finding where Website Growth Ops can: ..."), which slightly hurts scannability.

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?

For a three-parameter mutation tool with no output schema, the description covers the workflow error path, the quota side effect, the human-in-the-loop handoff to tc_confirm, and the safety guarantee. The only real omission is the meaning of the domain parameter, which does not block correct invocation given the finding_id provenance.

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 carry parameter meaning, and it only partly does: it explains the provenance of evidence_id and implies finding_id, but never explains the required domain parameter or that these must match the website the finding belongs to. The regex formats and constraints are 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?

The description opens with a specific verb and resource ("Drafts the fix for a finding") and immediately enumerates the concrete fix kinds it produces: page titles, meta descriptions (fact-checked), or internal links. It is clearly distinguishable from siblings such as webops_finding (which supplies the finding) and webops_accept/webops_reject.

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?

It states the prerequisite source ("The finding and its evidence_id come from webops_finding"), the failure branch (stale evidence records nothing and tells the caller to re-read the finding), and the follow-up path ("returns a summary and a code for tc_confirm"). An agent can place this tool correctly in the workflow without inference.

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