Skip to main content
Glama
zaizaizhao

mcp-for-programmer

typescript-challenge-analyzer

Analyzes TypeScript code snippets to identify advanced type techniques and provides best practices and usage scenarios for developers learning the type system.

Instructions

我正在刷typescript-challenge,根据我提供的ts代码段,分析这段TypeScript代码中使用的高级类型技术,提供最佳实践和使用场景示例,适合正在学习TypeScript类型系统的开发者

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided. The description mentions analyzing a 'provided ts code snippet', but the input schema has zero parameters, creating a contradiction about how input is received. No behavioral details beyond the purpose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise but not well-structured. It front-loads the purpose but lacks clarity about input and output. Every sentence is present but not all information is earned due to the schema contradiction.

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

Completeness2/5

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

Given the complexity of analyzing TypeScript code, the description is incomplete. It does not mention output format, return values (no output schema), or how the code snippet is provided. The tool's behavior is under-specified, especially with no annotations.

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

Parameters2/5

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

The input schema has no parameters, but the description implies a code snippet input. This contradiction misleads the agent about how to invoke the tool. The description fails to add meaningful parameter information; it adds confusion instead.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool analyzes TypeScript code for advanced type techniques, providing best practices and examples. However, it does not differentiate from sibling 'code-explainer', which may have overlapping functionality. The purpose is clear but lacks distinction.

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?

The description implies usage for developers learning TypeScript type system, but provides no explicit guidance on when to use this tool versus siblings (code-explainer, gen_prd_prototype_html) or when not to use it. No context or prerequisites are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zaizaizhao/mcp-for-programmer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server