Skip to main content
Glama
ZeroSOC

defender-xdr

by ZeroSOC

defender_to_utc

Read-only

Convert a timestamp to UTC so all timeline entries share one reference, using an IANA zone to interpret portal-local times that lack an offset.

Instructions

Convert a timestamp to UTC exactly. The APIs return UTC; the Defender portal shows the viewer's local time. Convert every time quoted from the portal or by a person before it goes into a timeline, so all entries share one reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timestampYesAn ISO 8601 timestamp.
assume_zoneNoIANA zone a timestamp without offset is read in, e.g. 'Europe/Rome'. Use the analyst's zone for a time copied from the portal, which shows local time.UTC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and destructiveHint, so the safety profile is covered. The description adds useful context about the UTC/local time mismatch, but it does not disclose output format, how timestamps with explicit offsets are handled, or error behavior. No contradictions with annotations.

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?

Three concise sentences, each earning its place: purpose, context, and usage rule. The purpose is front-loaded and there is no redundant content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, single-purpose conversion tool with a well-documented schema, the description plus schema is sufficient to invoke it correctly. The absence of an output schema is mitigated because the output ('converted to UTC') is self-evident and the use case is fully explained.

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?

Schema description coverage is 100%, so the baseline applies. The description reinforces the rationale for assume_zone by explaining the UTC-vs-local distinction, but it does not add technical details beyond what the schema already provides.

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

Purpose5/5

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

States a specific operation ('Convert a timestamp to UTC exactly') on timestamps, which is unique among sibling tools (most are get/list/update/hunting operations). The first sentence unambiguously identifies the resource and transformation, distinguishing it from even decode_command.

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

Usage Guidelines5/5

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

Gives an explicit, actionable trigger: any time quoted from the Defender portal or by a person before insertion into a timeline. It also explains the underlying reason (API times are already UTC; portal times are local), which helps an agent recognize when conversion is needed.

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

Deploy Server

Other Tools