Skip to main content
Glama

Save daily draft

save_daily_draft
Idempotent

Saves an AI-proposed daily draft for later review without approving or publishing it.

Instructions

Persist an AI-proposed daily draft. This does not approve or publish it.

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": {
      "workDate": "<workDate>",
      "timezone": "<timezone>",
      "summary": "<summary>",
      "workItems": "<workItems>",
      "nextActions": "<nextActions>",
      "sourceEventIds": "<sourceEventIds>",
      "sourceFingerprint": "<sourceFingerprint>"
    },
    "name": "save_daily_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
summaryYes
timezoneYes
workDateYes
workItemsYes
nextActionsYes
sourceEventIdsYes
sourceFingerprintYes

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
draftNo
messageNo
revisionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / workItems / items / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / draft / properties / approvedAt / anyOf
      Previous value: -[
      -  {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / draft / properties / approvedVersion / anyOf
      Previous value: -[
      -  {
      -    "exclusiveMinimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / draft / properties / createdAt / pattern
      Added value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    • addedOutput schema / properties / draft / properties / draftId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedOutput schema / properties / draft / properties / updatedAt / pattern
      Added value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    • addedOutput schema / properties / draft / properties / version / maximum
      Added value: +9007199254740991
    • removedOutput schema / properties / revisions / items / $ref
      Removed value: -"#/properties/draft"
    • addedOutput schema / properties / revisions / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / revisions / items / properties
      Added value: +{
      +  "approvalMethod": {
      +    "anyOf": [
      +      {
      +        "enum": [
      +          "MCP_ELICITATION",
      +          "EXPLICIT_CONFIRMATION_FALLBACK"
      +        ],
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "approvalWarnings": {
      +    "items": {
      +      "enum": [
      +        "SOURCE_CHANGED_AFTER_DRAFT"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "approvedAt": {
      +    "anyOf": [
      +      {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "approvedVersion": {
      +    "anyOf": [
      +      {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "createdAt": {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  },
      +  "draftId": {
      +    "format": "uuid",
      +    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +    "type": "string"
      +  },
      +  "nextActions": {
      +    "items": {
      +      "maxLength": 1000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 100,
      +    "type": "array"
      +  },
      +  "sourceEventIds": {
      +    "items": {
      +      "pattern": "^[0-9a-f]{64}$",
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  "sourceFingerprint": {
      +    "pattern": "^[0-9a-f]{64}$",
      +    "type": "string"
      +  },
      +  "status": {
      +    "enum": [
      +      "PENDING",
      +      "APPROVED",
      +      "REJECTED"
      +    ],
      +    "type": "string"
      +  },
      +  "summary": {
      +    "maxLength": 20000,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "timezone": {
      +    "type": "string"
      +  },
      +  "updatedAt": {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  },
      +  "version": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "workDate": {
      +    "type": "string"
      +  },
      +  "workItems": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "details": {
      +          "maxLength": 10000,
      +          "type": "string"
      +        },
      +        "repositoryId": {
      +          "pattern": "^[0-9a-f]{64}$",
      +          "type": "string"
      +        },
      +        "sourceEventIds": {
      +          "items": {
      +            "pattern": "^[0-9a-f]{64}$",
      +            "type": "string"
      +          },
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "title": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "verificationStatus": {
      +          "enum": [
      +            "REMOTE_MATCH",
      +            "UNCONFIRMED"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "repositoryId",
      +        "title",
      +        "details",
      +        "sourceEventIds",
      +        "verificationStatus"
      +      ],
      +      "type": "object"
      +    },
      +    "maxItems": 100,
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +}
    • addedOutput schema / properties / revisions / items / required
      Added value: +[
      +  "draftId",
      +  "workDate",
      +  "timezone",
      +  "summary",
      +  "workItems",
      +  "nextActions",
      +  "sourceEventIds",
      +  "sourceFingerprint",
      +  "version",
      +  "status",
      +  "createdAt",
      +  "updatedAt",
      +  "approvedAt",
      +  "approvedVersion",
      +  "approvalMethod",
      +  "approvalWarnings"
      +]
    • addedOutput schema / properties / revisions / items / type
      Added value: +"object"
  2. First observedv0.4.1

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful workflow context by saying the draft is not approved or published, but it does not explain overwrite behavior, how existing drafts are handled, or what source validation is required.

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, front-loaded sentences with zero waste. The key scope constraint is stated immediately, and no sentence is redundant.

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?

Although an output schema exists and annotations cover the mutation safety profile, this is a 7-parameter required-input write tool with 0% schema description coverage. The description does not explain the required draft fields, idempotency or overwrite semantics beyond the annotation, or how this differs from update_daily_draft, so it is not complete enough for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are seven required parameters and schema description coverage is 0%, so the description must carry the burden of explaining them. It mentions none of workDate, timezone, summary, workItems, sourceEventIds, or sourceFingerprint, leaving their semantics entirely undocumented.

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 specific verb, 'Persist,' and a specific resource, 'daily draft,' so an agent can tell this is a save operation rather than a retrieval. It also clarifies that the action does not approve or publish, which helps distinguish it from approve_daily_draft and publish tools, though it does not distinguish it from update_daily_draft.

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?

The second sentence explicitly excludes approval and publication, implying this is for saving only, but no positive condition for when to use this versus update_daily_draft or get_daily_draft is given. The usage context is implied rather than fully specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.