Get Timestamp
get_timestampConverts a date-time string to a Unix timestamp in milliseconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | The time to convert. Format: YYYY-MM-DD HH:mm:ss |
get_timestampConverts a date-time string to a Unix timestamp in milliseconds.
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | The time to convert. Format: YYYY-MM-DD HH:mm:ss |
Changes observed during successful MCP inspections.
Input schema / $schemaRemoved value: -"http://json-schema.org/draft-07/schema#"Input schema / additionalPropertiesRemoved value: -falseInput schema / properties / time / descriptionPrevious value: -"The time to convert (format: YYYY-MM-DD HH:mm:ss). Defaults to current time"New value: +"The time to convert. Format: YYYY-MM-DD HH:mm:ss"Output schema / (root)Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "timestamp": {
- "type": "number"
- }
- },
- "required": [
- "timestamp"
- ],
- "type": "object"
-}New value: +nullInput schema / $schemaAdded value: +"http://json-schema.org/draft-07/schema#"Input schema / additionalPropertiesAdded value: +falseInput schema / properties / time / descriptionPrevious value: -"The time to convert. Format: YYYY-MM-DD HH:mm:ss"New value: +"The time to convert (format: YYYY-MM-DD HH:mm:ss). Defaults to current time"Output schema / (root)Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "timestamp": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "timestamp"
+ ],
+ "type": "object"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It usefully discloses the output unit (milliseconds), but a timestamp conversion hinge on timezone handling (UTC vs local) and behavior on null/unparsable input, neither of which is stated — a real gap for the only parameter, which has no default despite being non-required.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One front-loaded sentence with zero waste. It is efficient, though the brevity leaves too much unsaid rather than being over-optimized.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter pure-conversion tool with a fully described schema, this is close to adequate. The absence of timezone semantics and default-input behavior leaves a meaningful gap an agent would want resolved before invoking.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single parameter is fully documented with its format in the schema, so the baseline is 3. The description adds nothing beyond restating the input type, and does not clarify what a missing non-required 'time' value does.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and transformation ('Converts a date-time string to a Unix timestamp in milliseconds'), so the input and output types are unambiguous. However, it does not differentiate itself from the sibling 'convert_time', which plausibly does the same conversion, leaving the agent to guess which one to pick.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this rather than 'convert_time', 'relative_time', or 'current_time'. The description gives no context, prerequisites, or exclusions at all.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.