Skip to main content
Glama

Update service

update_service
Idempotent

Partially update a service record — only provided fields change.

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
unitNo
agent_idNo
categoryNo
providerNo
service_idYes
descriptionNo
service_nameNo
service_typeNo
price_per_unitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the meaningful partial-update contract (unspecified fields are preserved), which is real value beyond the annotations, but it says nothing about permission requirements, error behavior on unknown service_id, or side effects.

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 tight sentence with the key semantics front-loaded and zero filler. It is arguably too terse for a 9-parameter tool, but there is no wasted wording to trim.

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 9-parameter mutation with no output schema and no parameter documentation anywhere, the description is not complete enough — an agent cannot tell from it which fields exist, that service_id is mandatory, or what a successful response contains. Annotations cover idempotency and safety but cannot substitute for the missing field-level guidance.

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 0% across 9 parameters, so the description carries the full burden and largely fails: it never mentions the required service_id, the service_type enum values, or which of the nine fields are updatable. The single clause about provided fields changing is the only semantic hint it offers.

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 ('Partially update a service record') and the qualifier 'partially' separates it from a full-replace or create operation such as the sibling create_service. It does not explicitly name a sibling to route away from, so it stops short of 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 Guidelines3/5

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

Usage is only implied: 'only provided fields change' tells the agent this is the right call when changing a subset of fields, but there is no explicit when-to-use vs. when-not, no mention of create_service for new records, and no stated prerequisites (e.g. service_id must already exist).

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