Skip to main content
Glama

test_expense_connection

Read-only

Check the expense connection (China: 每刻 Maycur or 汇联易 Huilianyi, as configured): signs in with app code/ID and secret (Maycur: auth/login, token 30 min; Huilianyi: OAuth client_credentials). Changes nothing.

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_expense_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds real substance on top: it names the auth mechanism per provider (Maycur auth/login with a 30-minute token, Huilianyi OAuth client_credentials) and confirms no state is mutated. It stops short of describing what a failed authentication returns or whether errors surface as exceptions.

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 sentence with a well-placed parenthetical that front-loads the purpose and then the provider/auth specifics. Dense but every clause carries information; the mixed-language provider names are necessary for disambiguation.

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?

For a zero-parameter, no-output-schema connectivity check, the description covers what it does, how it authenticates, and that nothing is modified. The one remaining gap is the shape of the result (success/failure signal, token expiry reporting), which an agent would have to discover empirically.

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 schema baseline of 4 applies and there is nothing the description could clarify further. The parenthetical about provider configuration is useful context but is not a parameter.

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 expense connection") and immediately narrows the scope to the two supported China providers, Maycur and Huilianyi. That is enough to tell it apart from generic connection tests, though it never explicitly contrasts with the other expense-related test tools.

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 only implied by the verb "Check" and the closing "Changes nothing" – an agent can infer this is a pre-flight/validation call. There is no explicit when-to-use (e.g. before syncing expenses) or when-not-to-use guidance, and no stated prerequisites such as credentials already being configured.

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.