Skip to main content
Glama

ticktick_get_by_id

Retrieve a TickTick task, project, or tag by its full ID and return the matching JSON record, or an empty object if none exists.

Instructions

Look up any object (task, project, tag) by its ID.

Args: obj_id (str): The object's full ID.

Returns: JSON object of the matching record, or an empty object {} if nothing has that id. Branch on emptiness. On failure: {"error": "...", "status": "error"}.

Freshness: Local state is synced from the server at most once per throttle window (default 15s, TICKTICK_MCP_SYNC_TTL_SECONDS); an edit made elsewhere within that window may not be visible yet. Call ticktick_sync to force an immediate refresh.

Example: ticktick_get_by_id(obj_id="60ca9dbc8f08516d9dd56324")

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": {
      "obj_id": "<obj_id>"
    },
    "name": "ticktick_get_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
obj_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "ticktick_get_by_idOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the empty-object sentinel for misses, the error-object shape on failure, and the sync throttle window with its env var. The notable gap is that it never explains how the tool disambiguates object type from a bare ID, or whether a read has any side effects on local state.

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 opening sentence is front-loaded with purpose, and the Args/Returns/Freshness/Example structure is easy to scan. The docstring-style scaffolding is slightly heavy for a single-parameter getter, but each block (especially the return-value and staleness notes) carries information the agent needs.

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?

No output schema exists, so the description must explain return values and does: success object, empty-object miss, and error object with branching guidance. Combined with the staleness note, it is nearly complete; only the cross-type ID resolution behavior is left unstated.

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 0%, so the schema alone gives only 'Obj Id' as a bare string. The description adds 'full ID' (signalling that truncated or partial IDs are not accepted) and a concrete example value, but it does not state the accepted format, length, or whether IDs are type-namespaced.

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 verb and resource: 'Look up any object (task, project, tag) by its ID.' It also enumerates the object types covered, which lets an agent distinguish it from sibling list-style tools like ticktick_filter_tasks, ticktick_get_all, and ticktick_get_tasks_from_project.

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

Usage Guidelines4/5

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

The 'by its ID' framing clearly implies the trigger condition (you already hold an ID), and the Freshness block explicitly routes the agent to ticktick_sync when a stale read is suspected. It stops short of naming which sibling to use instead when the agent does not have an ID (e.g., filter_tasks), so it lacks explicit exclusions.

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