Skip to main content
Glama

test_ehour_connection

Read-only

Check the tenant's eHour API key with a real authenticated read (GET /api/v4/report-kv for today, allowed for both Read/Write and Reporting-Only keys). A rejected key (401) is reported as an error. Read-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_ehour_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely useful behavior: the probe is a real authenticated GET against a specific endpoint, both key scopes are permitted, and a 401 surfaces as an error. What is missing is what a success response looks like (a boolean, an echo of the key, the report payload), so the agent cannot predict the return shape.

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?

Two sentences, front-loaded with the purpose and followed by the key-scope caveat and error behavior. The trailing 'Read-only.' restates readOnlyHint from the annotations and could be dropped, a small redundancy in an otherwise tight definition.

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

Completeness4/5

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

With no parameters and no output schema, the definition covers what an agent needs to invoke it: what it checks, which key types pass, and how failure manifests. The only gap is the success return value, which is modest given the tool's simplicity.

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 no parameters, so there is nothing for the description to disambiguate; the baseline for a zero-parameter schema applies. The description correctly implies no input is needed.

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?

The description pairs a specific verb ('Check') with a specific resource ('the tenant's eHour API key') and even names the exact call used (GET /api/v4/report-kv for today). It is unambiguous which of the many sibling test_*_connection tools this targets.

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

Usage Guidelines4/5

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

It makes the use case clear: validate the tenant's key with a real authenticated read, and it clarifies that both Read/Write and Reporting-Only keys are acceptable, which preempts a common false assumption. It stops short of explicitly saying when to prefer this over the service's other tools (e.g. run before first use), so it is strong but not complete routing guidance.

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.