Skip to main content
Glama

Update my API

update_user_api
DestructiveIdempotent

Change one of your published APIs. Fields you leave out of the patch keep their stored value, including secret headers.

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": {
      "slug": "<slug>",
      "patch": "<patch>"
    },
    "name": "update_user_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug
patchYes
organizationIdNoApproved workspace id only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: omitted fields keep their stored value, and secret headers are explicitly preserved, which is exactly the kind of detail an agent needs before mutating a sensitive resource.

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?

Two short sentences, both front-loaded with the most important information: the action first, then the non-obvious preservation semantics. No filler.

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

Completeness3/5

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

With no output schema and a nested, untyped patch object, the description should say more about what can be patched and what a successful change returns. The preservation note is valuable, but the tool remains under-described for a destructive mutation with a free-form nested payload.

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 coverage is 67%, and the description explains patch merge behavior, which meaningfully supplements the free-form patch object whose schema declares no properties. It says nothing about what keys are valid inside patch or what slug/organizationId mean, leaving gaps the schema also leaves open.

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 one of your published APIs" states a specific verb (change) and resource (published API), which is clear on its own. It does not distinguish this from sibling mutation tools such as update_hosted_function or update_product, but the resource scope is unambiguous.

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?

The description implies usage through patch semantics (fields omitted retain stored values), which tells the agent to send partial payloads. However, it gives no explicit when-to-use guidance, prerequisites, or comparison to sibling update tools.

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.