Skip to main content
Glama

updateBenefit

Destructive

Change fields of a benefit; omitted fields keep their current values. Returns the updated benefit. Get benefitId from getBenefits. Leave out media: files cannot be uploaded here, so images are changed in the Spacebring admin app. Never invent UUIDs; only use values from prior tool responses.

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": {
      "benefitId": "<benefitId>",
      "benefit": "<benefit>"
    },
    "name": "updateBenefit"
  }
}

Input Schema

NameRequiredDescriptionDefault
benefitYesBenefit fields to change. Omitted fields keep their current values.
benefitIdYesThe id of the benefit.

Output Schema

NameRequiredDescriptionDefault
benefitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The destructiveHint=true, readOnlyHint=false annotations already tell an agent that this mutation is risky. The definition adds real value: it confirms omitted fields are preserved, states it returns the updated benefit, and warns that media cannot be changed here. However it says nothing about permissions, whether changes are reversible, or what happens to nested objects, so the description adds context but not much depth.

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 short sentences, each earning its place: merge semantics first, then return value, then id sourcing, then the media and UUID constraints. It is front-loaded with the behavior an agent most needs before shaping a payload.

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

Completeness4/5

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

For a two-parameter nested mutation with an output schema, the definition covers update semantics, id sourcing, and the main gotcha. It omits details such as the recoverability of changes and behavior of the nested application object on the schema's boundary, so it is near-complete rather than fully complete.

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?

The schema already describes every field (100% coverage), so this dimension starts at a 3. The description goes beyond it by naming where benefitId must come from ('Get benefitId from getBenefits'), forbidding invented UUIDs, and steering callers away from the media array, which would otherwise silently replace attached files.

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 definition opens with an explicit verb and resource ('Change fields of a benefit') and spells out partial-update semantics ('omitted fields keep their current values'), so it can be differentiated from createBenefit/deleteBenefit without consulting the schemas. It only reuses getBenefits as an id source rather than contrasting available behaviors, so it falls 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 Guidelines4/5

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

It clearly states where to obtain the required benefitId ('Get benefitId from getBenefits') and an explicit exclusion ('Leave out media: files cannot be uploaded here, so images are changed in the Spacebring admin app'), plus a guardrail against fabricated UUIDs. It never says when this tool is the wrong choice versus siblings such as updateBenefitCategory, so a 4 rather than a 5.

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