Skip to main content
Glama

snippet-update

DestructiveIdempotent

Update a snippet. Only provide the fields you want to 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": {
      "snippetId": "<snippetId>"
    },
    "name": "snippet-update"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title
contentNoNew content
categoryNoNew category
isPublicNoNew public state
snippetIdYesThe snippet ID to update
isFavoriteNoNew favorite state

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the safety profile is largely covered. The description adds meaningful partial-update semantics (omitted fields are left untouched), which softens the destructive read. However, it says nothing about what destruction is possible, whether the updated snippet is returned, or what happens with an invalid snippetId.

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 with zero filler, and the action is front-loaded ahead of the usage constraint. Nothing is repeated from the schema and no sentence fails to earn its place.

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 single-resource patch tool with full schema coverage and a complete annotation set, the definition carries enough to call it correctly; no output schema exists, so return values need not be explained. The only real remaining gap is failure behavior on a bad snippetId and whether the response contains the updated record.

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?

Schema description coverage is 100%, so each of the six fields is documented in the schema, establishing a baseline of 3. The description adds a little beyond that by clarifying the patch-style contract for all optional fields at once, which is the one semantic the per-field schema descriptions do not state.

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 a snippet"), which cleanly separates it from snippet-create and snippet-list in the sibling set. It stops short of any explicit sibling differentiation or scope statement beyond the verb.

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?

"Only provide the fields you want to change" gives useful partial-update guidance so an agent knows it need not resend unchanged fields. There is no statement of when to prefer this over an alternative (e.g., creating a new snippet) and no prerequisites such as required permissions or valid snippetId constraints.

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