Skip to main content
Glama

yapi_get_project

Retrieve details for a YAPI project using its project ID, including name, description, members, and environment configuration.

Instructions

获取 YAPI 项目的基本信息,包括项目名称、描述、成员、环境配置等

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes项目 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It is clearly a read operation and discloses what is returned (name, description, members, environment config), which is useful, but it omits any mention of permissions, auth requirements, or error behavior.

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 front-loaded sentence stating the action and its payload, with no filler. Slightly lists return fields instead of usage guidance, but it is efficient.

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 simple one-parameter read tool with no output schema, enumerating the returned fields compensates for the missing return documentation. Only usage routing to siblings remains unaddressed, which is a minor gap for such a low-complexity tool.

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?

With a single required parameter and 100% schema description coverage, the schema already documents project_id. The description adds no syntax, format, or sourcing detail beyond that, so the baseline of 3 applies.

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 (YAPI 项目的基本信息), and enumerates the returned content (名称、描述、成员、环境配置). This clearly separates it from interface-focused siblings like yapi_get_interface or yapi_list_interfaces_by_cat, though it doesn't name an alternative explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to call this tool versus siblings such as yapi_get_interface_list or yapi_get_project-adjacent tools, and no prerequisites or context conditions are given. Usage is only inferable from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.