Skip to main content
Glama

Change an extra check

update_check
DestructiveIdempotent

Change an extra check by id. Fields you leave out keep their current value; pass null for expect_status, expect_text, json_path or json_equals to clear that part of the rule. Needs write access.

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": {
      "app": "<app>",
      "check_id": "<check_id>"
    },
    "name": "update_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
urlNoFull public URL, or a path on the app like /api/health
bodyNoPOST only: the request body, sent as-is (JSON must parse)
nameNoLike “Checkout API” or “Health”
methodNoDefault GET
enabledNoDefault true
headersNoExtra request headers, e.g. { "Authorization": "Bearer …" }. Saved encrypted and never shown again. On update, replaces all saved headers; leave out to keep them.
check_idYes
json_pathNo
expect_textNo
json_equalsNo
content_typeNoPOST only: default application/json
expect_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true), the description discloses two behaviors the agent could not infer: omitted fields are preserved (merge, not replace), and passing null clears expect_status/expect_text/json_path/json_equals. The write-access requirement is also stated. It does not explain why the operation is flagged destructive, though the null-clearing rule effectively accounts for it.

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?

Three short sentences with the merge semantics front-loaded, then the null-clearing exception, then the auth requirement. No restatement of the title and no filler.

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 13-parameter destructive mutation with no output schema, the definition covers the two things an agent most needs: partial-update semantics and how to remove a rule component. Remaining gaps are minor, such as not noting that headers are replaced wholesale on update (that lives only in the schema).

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 62% across 13 parameters, so the description must compensate, and it does for the most ambiguous cases: it defines null as 'clear that part of the rule' for four expect_* parameters and states the global leave-out-means-keep semantics. It says nothing about check_id or the app/url/method fields, which are left entirely to the schema.

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?

"Change an extra check by id" gives a specific verb plus resource and pins the identifier, which separates it from add_check/delete_check. It does not explicitly contrast with update_flow_check, so an agent must infer that 'extra check' vs 'flow check' are different objects.

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?

Usage is implied by the partial-update contract and the 'Needs write access' prerequisite, but there is no explicit guidance on when to pick this over update_flow_check or add_check, nor any warning about when not to call it.

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