Skip to main content
Glama

TinyFn

add_time_2

Add time to a datetime.

Input Schema

NameRequiredDescriptionDefault
daysNoDays to add
hoursNoHours to add
minutesNoMinutes to add
secondsNoSeconds to add
datetime_strYesDatetime in ISO format

Output Schema

NameRequiredDescriptionDefault
addedNo
errorNo
resultNo
originalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / AddTimeResponse
      Added value: +{
      +  "properties": {
      +    "added": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/TimeAddedParts"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "original": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Original"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "title": "AddTimeResponse",
      +  "type": "object"
      +}
    • removedOutput schema / $defs / app__routers__time_utils__AddTimeResponse
      Removed value: -{
      -  "properties": {
      -    "added": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/TimeAddedParts"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "error": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Error"
      -    },
      -    "original": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Original"
      -    },
      -    "result": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Result"
      -    }
      -  },
      -  "title": "AddTimeResponse",
      -  "type": "object"
      -}
    • changedOutput schema / x-fastmcp-top-level-schema
      Previous value: -"app__routers__time_utils__AddTimeResponse"New value: +"AddTimeResponse"
  2. Changed3 schema fields changed
    • removedOutput schema / $defs / AddTimeResponse
      Removed value: -{
      -  "properties": {
      -    "added": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/TimeAddedParts"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "error": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Error"
      -    },
      -    "original": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Original"
      -    },
      -    "result": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Result"
      -    }
      -  },
      -  "title": "AddTimeResponse",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / app__routers__time_utils__AddTimeResponse
      Added value: +{
      +  "properties": {
      +    "added": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/TimeAddedParts"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "original": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Original"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "title": "AddTimeResponse",
      +  "type": "object"
      +}
    • changedOutput schema / x-fastmcp-top-level-schema
      Previous value: -"AddTimeResponse"New value: +"app__routers__time_utils__AddTimeResponse"
  3. Changed3 schema fields changed
    • addedOutput schema / $defs / AddTimeResponse
      Added value: +{
      +  "properties": {
      +    "added": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/TimeAddedParts"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "original": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Original"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "title": "AddTimeResponse",
      +  "type": "object"
      +}
    • removedOutput schema / $defs / app__routers__time_utils__AddTimeResponse
      Removed value: -{
      -  "properties": {
      -    "added": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/TimeAddedParts"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "error": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Error"
      -    },
      -    "original": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Original"
      -    },
      -    "result": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Result"
      -    }
      -  },
      -  "title": "AddTimeResponse",
      -  "type": "object"
      -}
    • changedOutput schema / x-fastmcp-top-level-schema
      Previous value: -"app__routers__time_utils__AddTimeResponse"New value: +"AddTimeResponse"
  4. Changed3 schema fields changed
    • removedOutput schema / $defs / AddTimeResponse
      Removed value: -{
      -  "properties": {
      -    "added": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/TimeAddedParts"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "error": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Error"
      -    },
      -    "original": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Original"
      -    },
      -    "result": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Result"
      -    }
      -  },
      -  "title": "AddTimeResponse",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / app__routers__time_utils__AddTimeResponse
      Added value: +{
      +  "properties": {
      +    "added": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/TimeAddedParts"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "original": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Original"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "title": "AddTimeResponse",
      +  "type": "object"
      +}
    • changedOutput schema / x-fastmcp-top-level-schema
      Previous value: -"AddTimeResponse"New value: +"app__routers__time_utils__AddTimeResponse"
  5. Changed3 schema fields changed
    • addedOutput schema / $defs / AddTimeResponse
      Added value: +{
      +  "properties": {
      +    "added": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/TimeAddedParts"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "original": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Original"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "title": "AddTimeResponse",
      +  "type": "object"
      +}
    • removedOutput schema / $defs / app__routers__time_utils__AddTimeResponse
      Removed value: -{
      -  "properties": {
      -    "added": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/TimeAddedParts"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "error": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Error"
      -    },
      -    "original": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Original"
      -    },
      -    "result": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Result"
      -    }
      -  },
      -  "title": "AddTimeResponse",
      -  "type": "object"
      -}
    • changedOutput schema / x-fastmcp-top-level-schema
      Previous value: -"app__routers__time_utils__AddTimeResponse"New value: +"AddTimeResponse"
  6. Changed3 schema fields changed
    • removedOutput schema / $defs / AddTimeResponse
      Removed value: -{
      -  "properties": {
      -    "added": {
      -      "anyOf": [
      -        {
      -          "$ref": "#/$defs/TimeAddedParts"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "error": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Error"
      -    },
      -    "original": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Original"
      -    },
      -    "result": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Result"
      -    }
      -  },
      -  "title": "AddTimeResponse",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / app__routers__time_utils__AddTimeResponse
      Added value: +{
      +  "properties": {
      +    "added": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/TimeAddedParts"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "original": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Original"
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "title": "AddTimeResponse",
      +  "type": "object"
      +}
    • changedOutput schema / x-fastmcp-top-level-schema
      Previous value: -"AddTimeResponse"New value: +"app__routers__time_utils__AddTimeResponse"
  7. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are present, and the description does not disclose behavioral traits such as timezone handling, error behavior on invalid input, or whether the operation is destructive (it creates a new datetime). The burden of transparency is unmet.

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 description is a single sentence with no wasted words. It is concise and front-loaded, but could benefit from slightly more detail without becoming verbose.

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?

Despite having an output schema, the description does not clarify what the output is (e.g., new datetime string) or handle edge cases. The sibling 'add_time''s existence suggests a need for differentiation, which is missing. Completeness is poor for a tool with 5 parameters.

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

Parameters3/5

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

The input schema covers all parameters (100% coverage) with descriptions for each (days, hours, minutes, seconds, datetime_str). The description adds no further meaning beyond what the schema already provides, so baseline score of 3 is appropriate.

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

Purpose3/5

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

The description states 'Add time to a datetime' which is clear about the general operation, but it does not differentiate from the sibling tool 'add_time', leaving ambiguity about which tool to use.

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?

No guidance is provided on when to use this tool versus alternatives such as 'add_time', 'add_business_days', or 'subtract_time_2'. There is no mention of prerequisites (e.g., valid ISO format) or exclusions.

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.