Skip to main content
Glama

test_yonyou_connection

Read-only

Check the Yonyou (用友) BIP / YonSuite connection: looks up the tenant's data centre (getGatewayAddress), fetches a fresh access_token with AppKey + HmacSHA256 signature, then reads one customer — an authenticated read, not just a reachability check. Tells apart a wrong tenantId, a rejected signature (AppSecret), and an app without API permission for the customer list. 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_yonyou_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past readOnlyHint/openWorldHint: it discloses the internal call sequence (getGatewayAddress, HmacSHA256-signed token fetch), that it performs a real authenticated read of a customer record, that it has no side effects ('Changes nothing'), and that it discriminates between three distinct failure modes. That is exactly the outbound-network and auth context an agent needs before invoking it.

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?

Front-loaded with the purpose, then layered detail in three compact sentences with no filler. The parenthetical method names (getGatewayAddress, HmacSHA256) are dense but earn their place as diagnostic context; nothing is redundant.

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 description must carry the behavior, and it does: what it calls, what it reads, what it changes (nothing), and what failures it distinguishes. The only minor gap is the shape of a success response (e.g. what identifying info about the customer or tenant is returned), which an agent might want when reporting results.

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 is 4. The description correctly implies credentials come from configured connection state (AppKey/AppSecret, tenantId) rather than call arguments, which is consistent with the empty schema.

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 (check the Yonyou BIP / YonSuite connection) and then concretizes it: gateway lookup, token fetch, one customer read. The clause 'an authenticated read, not just a reachability check' separates it from shallow connectivity pings in the sibling test_*_connection family without needing to name one.

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 rather than stated: the diagnostic breakdown (wrong tenantId vs rejected signature vs missing API permission) tells an agent this is the tool to reach for when Yonyou credentials or permissions are in question. There is no explicit 'use when / do not use when' or reference to a specific alternative, so guidance stays inferential.

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.