Skip to main content
Glama
routineco

Routine

Official
by routineco

taskGet

Retrieve specific task details from Routine by providing a unique task ID. Simplify task management and tracking with direct access to task information.

Instructions

A task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • src/tools.ts:806-832 (registration)
    Registration of the taskGet tool including inline Zod schema for input 'id' (string) and the handler function that sends an RPC request to 'task.get' with the id and returns the JSON-formatted response or an error.
        "taskGet",
        "A task.",
        {
          /*
    {"$id":"#task-id","$schema":"https://json-schema.org/draft/2019-09/schema","type":"string"}
    */ id: z.string(),
        },
        async ({ id }) => {
          try {
            const data = await sendRpcRequest("task.get", [id]);
            return {
              content: [{ type: "text", text: JSON.stringify(data, null, 2) }],
            };
          } catch (error) {
            logger.error("Error fetching task.get: %o", error);
            return {
              content: [
                {
                  type: "text",
                  text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`,
                },
              ],
              isError: true,
            };
          }
        }
      );
  • The core handler function for the taskGet tool. It takes a task id, calls sendRpcRequest to the backend 'task.get' RPC, stringifies the result as JSON text, and handles errors appropriately.
    async ({ id }) => {
      try {
        const data = await sendRpcRequest("task.get", [id]);
        return {
          content: [{ type: "text", text: JSON.stringify(data, null, 2) }],
        };
      } catch (error) {
        logger.error("Error fetching task.get: %o", error);
        return {
          content: [
            {
              type: "text",
              text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`,
            },
          ],
          isError: true,
        };
      }
    }
  • Input schema for taskGet tool using Zod: requires a string 'id' parameter representing the task ID.
        {
          /*
    {"$id":"#task-id","$schema":"https://json-schema.org/draft/2019-09/schema","type":"string"}
    */ id: z.string(),
        },
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'A task.' reveals nothing about whether this is a read or write operation, what permissions might be required, what happens when invoked, or what the response contains. For a tool with a required parameter and no annotation coverage, this represents a complete failure to describe behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While technically concise with just two words, this represents under-specification rather than effective brevity. The description doesn't earn its place by providing necessary information. A single vague phrase fails to establish any meaningful context for tool selection and use.

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

Completeness1/5

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

Given the tool has a required parameter, no annotations, no output schema, and multiple similar sibling tools, the description is completely inadequate. It provides no information about purpose, usage, behavior, parameters, or return values. For a tool in this context, the description fails to provide even minimal necessary information.

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

Parameters1/5

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

The schema has 0% description coverage, meaning the single required 'id' parameter is completely undocumented in the schema. The description 'A task.' provides no information about what the 'id' parameter represents, what format it should have, or where to obtain it. The description fails to compensate for the complete lack of schema documentation.

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

Purpose2/5

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

The description 'A task.' is a tautology that merely restates the tool name without specifying what action it performs. It doesn't distinguish this tool from its many sibling task tools (taskComplete, taskCreateSimple, taskDay, etc.), nor does it indicate whether this retrieves, modifies, or analyzes a task. The description fails to provide a clear verb+resource combination.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives. With multiple sibling task tools available (taskComplete, taskCreateSimple, taskDay, taskGet, taskUncomplete, taskUnplanned, taskUpcoming, taskUpdate), there's no indication of what differentiates 'taskGet' from these other options. No context, prerequisites, or exclusions are mentioned.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/routineco/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server