Skip to main content
Glama

update_endpoint

Update allowlisted endpoint fields such as metadata, pricing, listing flags, imagery, wallet, payment options, slug, and webhook settings. PATs are preferred and require mcp:endpoints:write or mcp:*.

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>"
    },
    "name": "update_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoPricing mode
nameNoUpdated endpoint name
slugYesThe existing slug of the endpoint you want to update
chainNoUpdated chain/network
priceNoUpdated endpoint price
activeNoEnable or disable the endpoint
apiKeyNoLegacy endpoint API key (x402_*)
logoUrlNoUpdated logo URL
newSlugNoNew slug to assign to the endpoint
categoryNoUpdated category
currencyNoUpdated currency code
imageUrlNoUpdated image URL
isListedNoWhether the endpoint should be listed
bannerUrlNoUpdated banner URL
originUrlNoUpdated origin URL
webhookUrlNoSet an HTTPS webhook URL or null to remove it
accessTokenNoYour dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*
descriptionNoUpdated description
walletAddressNoUpdated payout wallet address
paymentOptionsNoUpdated payment options object
creditPackageSizeNoCredits per package
creditPackagePriceNoPackage price in USDC
listedInMarketplaceNoWhether the endpoint should appear in marketplace listings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / accessToken / description
      Previous value: -"Your dashboard MCP personal access token (sgl_pat_*)"New value: +"Your dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*"
  2. Changed4 schema fields changed
    • addedInput schema / properties / accessToken
      Added value: +{
      +  "description": "Your dashboard MCP personal access token (sgl_pat_*)",
      +  "type": "string"
      +}
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (x402_*)"New value: +"Legacy endpoint API key (x402_*)"
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "direct",
      -  "credits"
      -]New value: +[
      +  "direct",
      +  "credits",
      +  "flexible"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "slug",
      -  "apiKey"
      -]New value: +[
      +  "slug"
      +]
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does add genuine behavioral context by stating that PATs are preferred and that mcp:endpoints:write or mcp:* is required, which is useful. However, for a 23-parameter mutation it says nothing about partial-update semantics (are omitted fields left unchanged?), reversibility, validation failures, or what the response contains.

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?

Two compact sentences with the field inventory front-loaded and the auth note trailing as a prerequisite. Nothing is redundant, though the long field list reads as a dump rather than prioritized guidance.

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?

For a mutation tool with 23 parameters, no annotations, and no output schema, the definition covers purpose and authorization adequately. It is still thin on how updates compose (partial vs full replacement), what happens on slug collision via newSlug, and error behavior, which matters at this complexity level.

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 100%, so the schema already documents every parameter, and the baseline of 3 applies. The description adds only the framing concept that these are 'allowlisted' fields, implying a restricted update set, but contributes no format, default, or interaction details beyond 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?

The description gives a specific verb ('Update') and resource ('allowlisted endpoint fields') and enumerates the field families covered (metadata, pricing, listing flags, imagery, wallet, payment options, slug, webhook settings), so an agent can distinguish it from create_endpoint_with_payment or delete_endpoint. It stops short of naming any sibling explicitly, which keeps it from a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not guidance: nothing tells the agent to prefer this over create_endpoint_with_payment or how it relates to get_endpoint_details. The only contextual statement is the PAT/scope note, which is an authorization prerequisite rather than selection guidance.

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