Skip to main content
Glama

SalesHookAI

Book time entry

createTimeEntry

Books worked hours after the fact: hours, date, description, optionally customer or project. Separate from the live time clock.

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": {
      "hours": "<hours>"
    },
    "name": "createTimeEntry"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate in YYYY-MM-DD format
hoursYesNumber of hours (0-24)
projectIdNoProject ID
descriptionNoDescription of the work
projectNameNoProject name (used to lookup projectId)
customerNameNoCustomer name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the agent knows this is a non-destructive write. The description adds only that it is retrospective booking; it says nothing about duplicate-entry risk (implied by idempotentHint=false), permission prerequisites, or what happens if both projectId and projectName are supplied.

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?

Two short sentences, front-loaded with the action and fields, then the differentiator. There is no filler or redundancy.

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 6-parameter, 1-required mutation tool with a fully documented schema and no output schema, the description covers purpose, field set, and the main sibling distinction. It stops short of noting validation behaviour or how projectId/projectName interact, which would matter at invocation time.

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 is 3 and the schema already explains date format, hour range, and that projectName is used to look up projectId. The description only reiterates which fields are optional, adding little beyond the structured data.

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 ('Books') plus resource ('worked hours') and enumerates the core fields (hours, date, description, optional customer/project). The final clause explicitly separates it from the live time clock, which is exactly the sibling set (clockIn/clockOut/endBreak) an agent could confuse it with.

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?

'After the fact' plus 'Separate from the live time clock' gives a clear when-to-use condition and a when-not alternative. It doesn't address the correction path (updateTimeEntry) for fixing an already-booked entry, so the guidance is strong but not complete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources