Skip to main content
Glama

set_deadline

DestructiveIdempotent

Put a deadline with a reminder on ANY record (entity = table, e.g. contacts, accounts, leads, customer_invoices, mod_seminar_events; entity_id). Required: entity, entity_id, title, due_at (ISO). Optional: remind_before (e.g. '1d', '3h', '2w' or minutes; default 1d), channel todo (default) | email | both, user_id (who is reminded; default you), notes, source_key (modules: setting the same key again updates instead of duplicating). The server reminds at due_at - remind_before: a high-priority task and/or an e-mail to that person.

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": {
      "entity": "<entity>",
      "entity_id": "<entity_id>",
      "title": "<title>",
      "due_at": "<due_at>"
    },
    "name": "set_deadline"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoFree-text notes
titleYesTitle of the deadline
due_atYesDue date/time (ISO 8601)
entityYesTable of the record, e.g. contacts, accounts, leads, customer_invoices
channelNoReminder channel: todo (default), email or both
user_idNoID of the user
entity_idYesID of the record
source_keyNoStable key for modules; setting the same key again updates instead of duplicating
remind_beforeNoLead time of the reminder, e.g. '1d', '3h', '2w' or minutes (default 1d)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / remind_before / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  2. Changed9 schema fields changed
    • addedInput schema / properties / channel / description
      Added value: +"Reminder channel: todo (default), email or both"
    • addedInput schema / properties / due_at / description
      Added value: +"Due date/time (ISO 8601)"
    • addedInput schema / properties / entity / description
      Added value: +"Table of the record, e.g. contacts, accounts, leads, customer_invoices"
    • addedInput schema / properties / entity_id / description
      Added value: +"ID of the record"
    • addedInput schema / properties / notes / description
      Added value: +"Free-text notes"
    • addedInput schema / properties / remind_before / description
      Added value: +"Lead time of the reminder, e.g. '1d', '3h', '2w' or minutes (default 1d)"
    • addedInput schema / properties / source_key / description
      Added value: +"Stable key for modules; setting the same key again updates instead of duplicating"
    • addedInput schema / properties / title / description
      Added value: +"Title of the deadline"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description usefully explains the reminder mechanic — a notification fires at due_at minus remind_before as a high-priority task and/or e-mail — which goes beyond the annotations. However, annotations declare destructiveHint=true and the description never explains what is destroyed (e.g., whether an existing deadline on the record is overwritten), leaving a significant behavioral gap for a mutation tool.

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?

The action is front-loaded in the first clause and the remainder is a compact required/optional inventory with no filler. It is a dense single paragraph, but each clause carries parameter or behavior information.

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 9-parameter mutation tool with no output schema, the definition covers inputs well and describes the reminder side effect, but omits what the call returns (e.g., a deadline ID), permission requirements, and the destructive/overwrite semantics flagged by annotations. These are meaningful gaps an agent would want closed before calling it.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning: it explains the entity/entity_id pairing, the remind_before lead-time formats, and the source_key upsert semantics in context. It also clarifies that user_id defaults to the caller, which the schema phrase "ID of the user" does not convey.

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 opens with a specific verb and resource ("Put a deadline with a reminder on ANY record") and immediately clarifies the entity/entity_id pair with concrete table examples. It is clear what the tool does, though it does not explicitly distinguish itself from the listed siblings like update_deadline or add_contract_deadline, which a reader must infer.

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?

It enumerates required vs optional parameters and their defaults, which implies usage, but never states when to choose this tool over update_deadline or the contract-deadline family, nor any preconditions. The closest thing to guidance is the source_key note about updating instead of duplicating.

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.