Skip to main content
Glama

Create Scheduled Maintenance State Timeline

create_scheduled_maintenance_state_timeline
Destructive

Create a Scheduled Maintenance State Timeline. projectId comes from your credentials. Fields: oneuptime_describe_resource.

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": {
      "scheduledMaintenanceId": "<scheduledMaintenanceId>",
      "scheduledMaintenanceStateId": "<scheduledMaintenanceStateId>"
    },
    "name": "create_scheduled_maintenance_state_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
endsAtNo
startsAtNo
projectIdNo
scheduledMaintenanceIdYesID of Scheduled Maintenance this resource belongs to.
scheduledMaintenanceStateIdYesID of the state the scheduled maintenance event changes to.
shouldStatusPageSubscribersBeNotifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • removedInput schema / properties / endsAt / description
      Removed value: -"When did this status change end?"
    • removedInput schema / properties / endsAt / example
      Removed value: -{
      -  "_type": "DateTime",
      -  "value": "2023-10-01T12:00:00Z"
      -}
    • addedInput schema / properties / endsAt / properties
      Added value: +{
      +  "_type": {
      +    "enum": [
      +      "DateTime"
      +    ],
      +    "type": "string"
      +  },
      +  "value": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / endsAt / required
      Added value: +[
      +  "_type",
      +  "value"
      +]
    • removedInput schema / properties / projectId / description
      Removed value: -"ID of your OneUptime Project in which this object belongs."
    • removedInput schema / properties / projectId / example
      Removed value: -"123e4567-e89b-12d3-a456-426614174000"
    • removedInput schema / properties / scheduledMaintenanceId / example
      Removed value: -"123e4567-e89b-12d3-a456-426614174000"
    • changedInput schema / properties / scheduledMaintenanceStateId / description
      Previous value: -" Scheduled Maintenance State ID. Which state does this event belongs to?"New value: +"ID of the state the scheduled maintenance event changes to."
    • removedInput schema / properties / scheduledMaintenanceStateId / example
      Removed value: -"123e4567-e89b-12d3-a456-426614174000"
    • removedInput schema / properties / shouldStatusPageSubscribersBeNotified / description
      Removed value: -"Should subscribers be notified about this state change?"
    • removedInput schema / properties / shouldStatusPageSubscribersBeNotified / example
      Removed value: -true
    • removedInput schema / properties / startsAt / description
      Removed value: -"When did this status change? Correct this when the recorded time is wrong - every measurement derived from this timeline is recomputed from the corrected value."
    • removedInput schema / properties / startsAt / example
      Removed value: -{
      -  "_type": "DateTime",
      -  "value": "2023-10-01T12:00:00Z"
      -}
    • addedInput schema / properties / startsAt / properties
      Added value: +{
      +  "_type": {
      +    "enum": [
      +      "DateTime"
      +    ],
      +    "type": "string"
      +  },
      +  "value": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / startsAt / required
      Added value: +[
      +  "_type",
      +  "value"
      +]
  2. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already flag this as a non-read-only, destructive, closed-world write, so the description should explain what the write actually does or overwrites, yet it says nothing. It also omits the consequential effect implied by shouldStatusPageSubscribersBeNotified (that creating a timeline state can notify status page subscribers) and says nothing about required permissions or whether an existing timeline is replaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is appropriately short and front-loads the action, with no filler sentences. However, the fragment "Fields: oneuptime_describe_resource" is cryptic and reads like a pointer rather than informative content, so its brevity comes partly from under-specification rather than efficiency.

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?

For a destructive six-parameter mutation with nested objects and no output schema, the description should at minimum explain the state-transition semantics and the notification flag. The pointer to oneuptime_describe_resource is the sole mitigation and does not make the definition self-sufficient.

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

Parameters2/5

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

Schema coverage is only 33%, so the description needed to carry weight for four undocumented parameters, including the nested startsAt/endsAt DateTime objects and the notification flag. The only genuine contribution is that projectId comes from credentials (the schema gives it no description), while "Fields: oneuptime_describe_resource" defers all real semantics to another tool instead of explaining them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a Scheduled Maintenance State Timeline" restates the tool name and title verbatim and adds nothing beyond them. It does not distinguish this tool from close siblings such as create_scheduled_maintenance_state, create_scheduled_maintenance_event, or update_scheduled_maintenance_state_timeline, so an agent cannot tell why it would pick this one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of prerequisites for creating a timeline entry against a scheduled maintenance event. The only operational hint is that projectId is derived from credentials, which is a parameter note rather than usage guidance.

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.