Skip to main content
Glama

test_clockin_connection

Read-only

Check the tenant's clockin connection with a real authenticated read (GET /employees?limit=1). Returns the number of employees, or a clear error if no token is stored, it is invalid, or the plan has no API (Expert only).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "test_clockin_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Goes meaningfully beyond the supplied annotations: it discloses that this is a *real* authenticated request (not a cached/simulated check), names the exact endpoint and its limit=1 throttle, and enumerates the failure modes — missing token, invalid token, and plan gating ('Expert only'). That plan restriction is behavior an agent could not infer from readOnlyHint=true/openWorldHint=true, though it says nothing about rate limits or side effects of the 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?

A single front-loaded sentence: the action and its mechanism come first, the return values and error conditions second. Every clause (endpoint, limit=1, error cases, plan restriction) carries information an agent needs.

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?

With no output schema, the description carries the return-value burden and does so — success returns an employee count, failure returns a clear error for each of the three causes. For a parameterless diagnostic tool with readOnly/openWorld annotations already covering the safety profile, nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline of 4 applies; the schema needs no semantic elaboration and the description correctly avoids inventing any.

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?

States a specific verb and resource ('Check the tenant's clockin connection') and specifies exactly how the check is performed (a real authenticated GET /employees?limit=1). That endpoint detail distinguishes it from the many sibling test_*_connection tools, though it never explicitly contrasts itself with them.

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

Usage Guidelines3/5

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

Usage is implied — 'check the connection' signals a diagnostic/dry-run call rather than a data-fetching one — and the description lists the three failure conditions that give the result meaning. It does not say when to prefer this over proceeding directly with clockin operations, nor any prerequisite ordering.

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.