Skip to main content
Glama

update_gift

Idempotent

Actualizează un cadou existent. Trimite doar câmpurile de schimbat.

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": {
      "gift_id": "<gift_id>"
    },
    "name": "update_gift"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
nameNo
priceNo
gift_idYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the agent knows this is a safe, repeatable mutation. The description adds the non-obvious patch behavior (only send changed fields), which is meaningful because unchanged fields are nullable with default null and could otherwise be accidentally cleared. It does not state what happens for a non-existent gift_id, required permissions, or whether omitted-vs-explicit-null differ.

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, zero filler, with the operation stated first and the critical patch instruction second. Appropriately sized for the amount of information conveyed.

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 no output schema and five undocumented parameters, the description covers the most important behavioral rule (partial update) but omits field-level meaning, error behavior for a bad gift_id, and any distinction from update_gift_list. Adequate but leaving clear gaps.

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 0%, so the description carries the parameter burden, and the key semantic rule it supplies — send only the fields you intend to change — directly governs how the five nullable fields (url, name, price, description, gift_id) should be used. It still names none of the fields or their meaning, so it only partially compensates for the empty schema descriptions.

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 states a clear verb+resource ('Actualizează un cadou existent' / updates an existing gift), which an agent can readily distinguish from sibling reads like get_gift or creates like create_gift. It does not, however, explicitly differentiate itself from the closely-named update_gift_list, which manages a different resource (lists vs. individual gifts).

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?

'Trimite doar câmpurile de schimbat' (send only the fields to change) is genuine usage guidance that establishes patch semantics, which is essential given all optional fields default to null. There is no explicit when-to-use/when-not or named alternative (e.g., update_gift_list), so usage is only implied.

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