Skip to main content
Glama

Update deck

updateDeck
Destructive

Write, destructive. Rename, rewrite description, set or clear deckNote, and/or set newCardsPerDay. Send at least one. Null deckNote clears it. Does not move dueAt.

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": {
      "deckId": "<deckId>"
    },
    "name": "updateDeck"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
deckIdYes
deckNoteNo
descriptionNo
newCardsPerDayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / deckNote / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedInput schema / properties / description / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedInput schema / properties / newCardsPerDay / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "archivedAt": {
      -      "format": "date-time",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "createdAt": {
      -      "description": "UTC ISO-8601 timestamp ending in Z",
      -      "type": "string"
      -    },
      -    "deckNote": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "description": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "effectiveNewCardsPerDay": {
      -      "type": "integer"
      -    },
      -    "id": {
      -      "format": "uuid",
      -      "type": "string"
      -    },
      -    "name": {
      -      "type": "string"
      -    },
      -    "newCardsPerDay": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "updatedAt": {
      -      "description": "UTC ISO-8601 timestamp ending in Z",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "archivedAt": {
      +      "format": "date-time",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "createdAt": {
      +      "description": "UTC ISO-8601 timestamp ending in Z",
      +      "type": "string"
      +    },
      +    "deckNote": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "description": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "effectiveNewCardsPerDay": {
      +      "type": "integer"
      +    },
      +    "id": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "newCardsPerDay": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "updatedAt": {
      +      "description": "UTC ISO-8601 timestamp ending in Z",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare write/destructive, so restating 'Write, destructive' adds little. The description does add genuinely new behavioral facts the annotations cannot convey: a null deckNote clears it, and the operation does not move dueAt, which bounds the blast radius. Return behavior and error semantics remain unstated.

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?

Four short sentences, front-loaded with the mutation character and then the field list, with no filler. The opening 'Write, destructive' partially duplicates the annotations, which is the only wasted token.

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 five-parameter mutation tool with no output schema and zero schema description coverage, the description covers the essential contract: at least one field required, null semantics, and an unaffected field (dueAt). It omits the response shape and whether unknown/immutable fields error out.

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 coverage is 0%, so the description must carry parameter meaning, and it names four of the five fields. Critically it supplies a semantic the schema cannot express: passing null for deckNote clears it (the schema types deckNote as a plain string with no nullable signal). deckId's role is left implicit, and no format or range guidance is given.

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 deck' implied by updateDeck) and enumerates the mutable fields: name, description, deckNote, newCardsPerDay. It does not explicitly differentiate from the overlapping sibling setDeckNote or updateCard, which also touch deckNote/card fields, 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?

'Send at least one.' gives a real precondition, which is more than most definitions offer. However, it never says when to use updateDeck versus setDeckNote (which covers one of the same fields) or updateCard, leaving the alternative-routing decision to inference.

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