Skip to main content
Glama

kimai-add-team-activity

Grants a team access to a specific activity using team ID and activity ID, enabling shared time-tracking access for that activity.

Instructions

Grant a team access to an activity.

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": {
      "id": "<id>",
      "activityId": "<activityId>"
    },
    "name": "kimai-add-team-activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTeam ID
activityIdYesActivity ID to grant access to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It conveys only that this is a granting operation; it does not say whether it is idempotent, what happens if access already exists, what permissions are required, or what is returned on success or failure.

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 front-loaded sentence with no filler or repetition. It is efficient, though the brevity leaves little room for the behavioral context the tool otherwise lacks.

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 zero annotation coverage and no output schema, the definition is under-specified: side effects, idempotency, and error behavior are all unstated. The fully documented schema covers the inputs, but an agent has no basis to predict the outcome of the call.

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%, with both 'id' (Team ID) and 'activityId' (Activity ID) documented, so the schema already does the heavy lifting. The description adds only the relationship between the two identifiers and no format, ordering, or validation detail beyond that.

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 and resource: 'Grant a team access to an activity.' This clearly identifies a permission-granting mutation rather than an activity create/update, which is enough to distinguish it from most siblings. It stops short of explicitly naming the inverse operation (kimai-remove-team-activity) or the related team-member/project/customer variants, so differentiation is inferential.

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, no named alternatives, and no prerequisites such as requiring an existing team and activity. The agent must infer from the name alone that this adds a single activity to a team's permission set rather than replacing it.

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