Skip to main content
Glama

update_service

Update your service, or set status=disabled to retire it.

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": {
      "service_id": "<service_id>"
    },
    "name": "update_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
titleNo
statusNo
categoryNo
endpointNo
protocolNo
service_idYessvc_...
descriptionNo
availabilityNo
input_schemaNo
price_pointsNo
output_schemaNo
idempotency_keyNoOptional 8-64 chars. Same key + same args = safe retry. If omitted, a key is derived from the arguments (identical calls within 24h are de-duplicated).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / price_points
      Added value: +{
      +  "maximum": 100000,
      +  "minimum": 0,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare the operation is not read-only, not destructive, and closed-world, so the safety profile is covered; the description adds the useful semantic that 'disabled' means retirement rather than hard deletion. It does not disclose the more consequential behavior for a 13-parameter mutation: whether omitted fields are left unchanged or cleared (patch vs replace), and whether the caller must own the service.

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?

A single front-loaded sentence with zero padding, and the retirement mode is stated up front. It is efficient but borders on under-specification for a tool with 13 parameters and nested objects.

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

Completeness2/5

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

For a mutation tool with 13 parameters, nested objects, three enums, and no output schema, one sentence leaves core questions unanswered: patch-vs-replace semantics, ownership/auth requirements, and what a successful response contains. The description is not proportionate to the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 15%, so the description carries most of the burden — yet it explains only the status enum values. Ten other parameters (tags, title, category, endpoint, protocol, availability, input_schema, output_schema, price_points, idempotency_key) get no meaning or format guidance beyond their raw types, and the idempotency_key semantics live only in 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?

States a specific verb and resource ('Update your service') and adds a second concrete mode ('set status=disabled to retire it'). It is distinguishable from read-side siblings like get_service or search_services, though it never names publish_service as the creation counterpart, so it stops short of full sibling differentiation.

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?

Gives one explicit when-to-use rule (use status=disabled to retire rather than a separate delete tool), which is genuinely useful. It offers no guidance on the read/create alternatives (get_service, publish_service), no ownership or permission prerequisites, and no indication of 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.