Skip to main content
Glama

Get timeTrackingSegment

codecks_get_time_tracking_segment
Read-onlyIdempotent

Fetch a single time tracking segment by ID and optionally select fields or include related account, card, and user data.

Instructions

Get a single timeTrackingSegment by ID with optional field selection.

Available fields: addedManually, autoFinishedState, createdAt, finishedAt, modifyDurationMsBy, startedAt Relations: account, card, user

Example selection: ["addedManually", "autoFinishedState", "createdAt"]

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": {
      "id": "<id>"
    },
    "name": "codecks_get_time_tracking_segment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesModel ID
selectionNoSelection array (fields/relations)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
include_relationsNoAttempt safe first-level relation expansion with guarded fallback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds useful discovery context (the field and relation vocabularies), but says nothing about behavior on a missing or invalid ID, or how include_relations' 'guarded fallback' actually behaves, which is the one genuinely non-obvious trait here.

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?

Three short blocks with the core purpose front-loaded and zero filler. The field and relation lists are dense but each item is load-bearing for the selection parameter; the only mild redundancy is labeling the example after already listing the fields.

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

Completeness4/5

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

For a single-record read tool with annotations covering safety and no output schema to explain, the description supplies what an agent needs to construct a call: identity semantics, selectable fields, relations and an example. Missing only edge-case behavior (invalid ID, relation-expansion fallback), which keeps it from a 5.

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?

Schema coverage is 100%, so the baseline would be 3, but the description goes beyond the schema by enumerating the selectable fields and relations that the schema only gestures at with 'Selection array (fields/relations)'. The concrete example selection also shows the expected shape, which the schema does not.

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 ('Get a single timeTrackingSegment by ID') and adds the scope qualifier 'with optional field selection', so the intent is unambiguous. It implicitly separates itself from the sibling list_* variants via 'single ... by ID', but never names an alternative explicitly, keeping it short of a 5.

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?

Usage is only implied: an agent can infer this is the right tool when it already holds a segment ID. There is no statement of when to prefer this over codecks_list_time_tracking_segment or the auto-finished variants, and no prerequisites or failure conditions are given.

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