Skip to main content
Glama

Multi Books

Delete a time entry

time_entries_delete
Destructive

Delete one time entry of a company. Deleted, it is written with no record, the entry being gone; one whose answer never came is written where the entry reads gone and not_written where it is still there. On Xero only an entry Xero holds ACTIVE is deleted, one invoiced refused with nothing sent. On QuickBooks, deleted as just read, it is answered with its id and status Deleted. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. Each call is one write, sent to the company's program once - to FreeAgent, or to Xero under a request key of its own, so Xero never takes it twice. A Zoho Books organisation's write goes to Zoho Books, which takes no request key. One given in another program's names, or naming an id of another program's form, is not_written with reason refused, nothing sent; one Xero keeps from the person's Xero role, with reason xero_role. A company set to read only refuses it before its program is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where its program refused it, what it said; or unknown where its answer never came and reading the books back could not tell, found naming every identical new record where two were made and none where that read itself failed. A write whose answer never came is settled by reading the books back, never sent again. Where the screening holds back its program's words in the answer, the outcome and each record's id stand, marked withheld with why. On Xero, an organisation whose Xero does not include projects is answered with reason xero_plan; whoever holds that organisation's Xero adds them in Xero itself. A QuickBooks company's write goes to QuickBooks under a request key of its own, so QuickBooks never takes it twice.

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": {
      "company": "<company>",
      "entry": "<entry>"
    },
    "name": "time_entries_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
entryYesThe time entry's id, as time_entries_list answers it.
companyYesThe id companies_list gives the company.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

The description goes well beyond the annotations: it discloses idempotency via per-call request keys on Xero/QuickBooks, that Zoho Books takes no request key, that read-only companies and prompt-attack screening refuse the write before the provider is called, that a Zoho workflow may email on any write, and the meaning of outcome values (deleted/not_written/unknown) with reasons like refused, xero_role, and xero_plan. This is genuinely useful behavioral context for a destructive operation. It is dense and awkwardly worded, but nothing contradicts the annotations.

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?

The first sentence is clear, but the remainder is a run-on tangle of fragments ('Deleted, it is written with no record, the entry being gone...') with repeated provider-key explanations (QuickBooks request key appears twice). Valuable facts are buried and order is not front-loaded around the agent's decision.

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

Completeness3/5

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

For a multi-provider destructive write with no output schema, the description does cover outcomes, failure reasons, and no-retry semantics, which is the important content. However, the garbled prose and recurring provider-specific asides make it hard to reliably extract the returned outcome values, leaving the agent's picture only partially usable.

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 coverage is 100%, with both `company` and `entry` documented in-schema. The description adds one marginal point, that an id given 'in another program's form' is refused as not_written, hinting that entry id shape varies by provider. That is a small addition over the schema baseline.

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 opening sentence states a specific verb and resource: 'Delete one time entry of a company.' An agent immediately knows this is a destructive delete scoped to a single entry. It does not distinguish itself from siblings like time_entries_update, but the core purpose is unambiguous.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance or naming of an alternative (e.g., time_entries_update for corrections). The text describes per-provider behavior at length but never tells the agent under what conditions it should choose this tool over a sibling.

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.