Skip to main content
Glama
WebCake Landing MCP

WebCake Landing MCP

by vuluu2k

api_call

Destructive

Execute any WebCake API operation by id, including GET, POST, PUT, PATCH, and DELETE requests. Writes default to dry_run:true so you can show the exact payload before sending.

Instructions

Run any operation from api_find by id (GET, POST, PUT, PATCH, DELETE). Writes default to dry_run:true and return exactly what would be sent — show the user, then repeat with dry_run:false. Refuses writes to routes a dedicated tool owns (it names the tool) and irreversible account operations (page/domain deletion, org members/roles/transfers, permissions, billing, credentials). Required keys are checked against the call sheet before sending.

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

Input Schema

NameRequiredDescriptionDefault
idNoOperation id from api_find (preferred)
bodyNoJSON body for POST/PUT/PATCH/DELETE (keys from the call sheet)
pathNoCatalog path with :params, e.g. /api/datasets/records
pickNoKeep only these fields on each item of a list result (or on a single object)
queryNoQuery-string values
methodNoWith path, when id is not given
org_idNoOrganization sent as x-org-id ('personal' = none); default: the configured org. Many routes need it.
dry_runNoDefault true for writes: describe, don't send
max_itemsNoCap list results (default 50)
path_paramsNoValues for :params in the path (page_id, org_id…); org_id defaults to the selected organization

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.13.6

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=true, openWorldHint=true; the description goes far beyond by disclosing the dry-run default for writes, the payload preview behavior, the class of refused operations (page/domain deletion, org members/roles/transfers, permissions, billing, credentials), and pre-send validation of required keys against the call sheet.

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?

Four tight sentences with no filler: the capability first, then the write protocol, then the guardrails, then validation. Each sentence carries information an agent needs before calling.

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 10-parameter, open-world, destructive escape hatch with no output schema, the definition covers the risky parts: safety workflow, refused categories, required-key validation, and what a dry run returns. Remaining details (pick, max_items) are adequately handled by the fully documented 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 100%, so the baseline is 3; the description adds real meaning on top by explaining the id-vs-path/method relationship, the body's key sourcing from the call sheet, and the two-step dry_run semantics that the schema only notes in one line. It does not clarify pick, max_items, or org_id fallback beyond what the schema states.

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?

States a concrete verb and resource ('Run any operation from api_find by id') and enumerates the supported methods. It also carves out its own niche by refusing writes that a dedicated tool owns, which lets an agent distinguish it from siblings like update_page or patch_page without opening schemas.

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?

Gives an explicit workflow: look up the operation id via api_find, run writes with dry_run:true, show the user the payload, then repeat with dry_run:false. It also names the exclusions — routes owned by dedicated tools and irreversible account operations — so the when-not is as clear as the when.

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