Skip to main content
Glama

Lançar horas

astrea_create_timesheet

Logs hours worked on a legal case or process using a date, duration, description, and activity type. Use it to record tracked or billable time in Astrea timesheets.

Instructions

Lança horas trabalhadas em um processo/caso.

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": {
      "date": "<date>",
      "duration": "<duration>",
      "description": "<description>",
      "activityType": "<activityType>"
    },
    "name": "astrea_create_timesheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesNão pode ser data futura
caseIdNo
durationYesDuração HH:MM
customerIdNo
descriptionYes
activityTypeYesid de astrea_list_activity_types

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only that hours are attached to a process/case; it does not disclose consequences of creating an entry, whether the record can be edited afterward, billing implications, or that at least four fields must be supplied. Almost no behavioral value beyond 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.

Conciseness4/5

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

A single short sentence with no wasted words, and the action and target are front-loaded. It is efficient rather than padded, though its brevity leaves it close to under-specified for a six-parameter mutation tool.

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

Completeness2/5

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

For a mutation tool with six parameters, four of them required, no output schema, and two undocumented parameters, a one-line description is insufficient. An agent cannot tell what must exist beforehand, what the response contains, or how to choose between caseId and customerId. The definition is materially incomplete for this complexity.

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 50%: date ('não pode ser data futura'), duration ('HH:MM'), and activityType (pointing to astrea_list_activity_types) are documented in the schema. The description itself adds nothing about parameters, and caseId/customerId remain undocumented. With half the schema described, the 3 baseline applies, but the description does not compensate for the gap.

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 description states a specific verb plus resource: logging hours worked ('Lança horas trabalhadas') against a process/case. That is enough for an agent to tell it apart from the delete_timesheet sibling and from the other create_* tools that target different resources. It stops short of naming the artifact created (a timesheet record) or how it differs from adjacent create tools, but the core action 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 when-to-use guidance: nothing says when to log hours here versus creating an appointment, consulting, or expense entry. No prerequisites, no mention of what must already exist (an existing case or customer), and no exclusions. The only usage signal is the implicit 'worked hours go to a case', which the agent must infer.

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

Deploy Server

Other Tools