Skip to main content
Glama

get_capacity

Read-onlyIdempotent

Read one user's weekly available hours. Defaults to the caller's own row + the current Monday. Reading another user's capacity requires OWNER / ADMIN / MANAGER org role. PREFER get_capacity_report for the org-wide team utilisation rollup.

Input Schema

NameRequiredDescriptionDefault
userIdNoOptional. Defaults to caller.
weekStartNoISO date. Defaults to current Monday.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: the authorization requirement for cross-user reads and the implicit defaulting of both parameters. It does not describe the returned payload shape, but that is minor for a simple read.

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?

Three short sentences, front-loaded with what the tool does, then defaults, then the permission caveat, then the alternative. No filler or repetition.

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

Completeness5/5

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

For a zero-required-parameter read with no output schema, the description covers purpose, defaults, authorization, and the main sibling alternative. Nothing an agent needs to invoke it correctly is missing.

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 both parameters are already documented in the schema, including their defaults. The description mirrors that defaulting information rather than adding syntax or edge-case meaning, so the baseline 3 applies.

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 and resource ('Read one user's weekly available hours') with explicit scope (single user, one week). It distinguishes itself from both siblings: set_capacity (write) and get_capacity_report (org-wide rollup).

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

Usage Guidelines5/5

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

Gives explicit defaulting behavior (caller's own row, current Monday), a permission prerequisite for reading another user's row (OWNER/ADMIN/MANAGER), and routes the agent to the alternative when an org-wide view is wanted. Both when-to-use and when-to-use-something-else are covered.

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.