Skip to main content
Glama

Ensure Clockify project

clockify_ensure_project

Find an existing Clockify project by name or create it if missing, using the repo name from config by default.

Instructions

Finds a project by name or creates it. Defaults to the repo name from .clockify/config.yml / folder when name omitted. Pass config_root as that repo's git toplevel when this MCP is user-scoped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoProject name. Defaults from .clockify/config.yml / repo folder.
config_rootNoAbsolute git toplevel of the repo that contains .clockify/config.yml. Resolve once per session with `git rev-parse --show-toplevel` from the working directory (open tabs are not required); reuse that string on later calls unless the repo or focused root changed. Do not pass a multi-root .code-workspace folder.
workspace_idNoWorkspace ID override.
Behavior4/5

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

With no annotations present, the description carries the full burden and it does reveal the key behavioral trait: this tool has a possible side effect and creates a project if it does not already exist. It also discloses idempotent behavior and the default-name resolution path. It does not describe the return value or all side effects, but the core mutation is stated clearly.

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?

The definition is concise and front-loaded: behavioral verb first, then default name resolution, then a focused note about config_root. No empty phases or redundant restatements of the tool name.

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?

Given the tool's simplicity, the description plus the complete parameter schema cover project lookup/defaults, config_root handling, and workspace override. The remaining gap is the lack of an explicit output shape or success/error cues, which matters somewhat more than because no output schema is present.

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 schema already fully documents the three parameters. The description adds only a brief hint about config_root's role; it doesn't materially extend the parameter semantics beyond what the schema already says.

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?

The description opens with 'Finds a project by name or creates it', which names the exact resource and behavior and clearly differentiates the idempotent ensure operation from sibling read-only tools like clockify_list_projects. The agent knows what the tool is for without inferring.

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?

The description gives useful context: it explains fallback name resolution and what to pass for config_root in a user-scoped MCP. However, it never explicitly states when to prefer this over list/find alternatives or calls out exclusions, so the guidance remains implied rather than sharp.

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

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/dustinestes/clockify-agent-plugin'

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