Skip to main content
Glama
Guardz Generator MCP Server

Guardz Generator MCP Server

by thiennp

get_project_info

Collects project context required for TypeScript type guard generation, so AI assistants can identify relevant interfaces, types, and files before generating guards.

Instructions

Helper to get project context for type guard generation

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": "get_project_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.8

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the entire behavioral burden and it discloses almost nothing: no indication of whether it reads or mutates, no mention of the working directory or project root it inspects, no cost or side-effect notes. The word 'Helper' implies it is a supporting read call but never states that.

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?

One short, front-loaded sentence with nothing redundant. The only wasted token is the leading 'Helper to', which delays the actual verb and could be dropped.

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?

With no annotations and no output schema, the description gives no picture of what 'project context' contains (config, file list, compiler options, tsconfig?), so an agent cannot judge whether the result is worth fetching or what it can do with it. For a zero-param tool the surface is small, but the return content is the whole point and it is left unexplained.

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 of 4 applies. The description correctly implies context is derived from the environment rather than arguments, leaving no parameter ambiguity to resolve.

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 verb+resource is 'get project context', which is identifiable but abstract — 'project context' is never defined. 'Helper' is filler that adds no selection value, and the only differentiation from siblings (discover_files, generate_type_guards) is the trailing clause 'for type guard generation'.

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 phrase 'for type guard generation' hints at the situation in which this tool matters, but there is no explicit when-to-use statement, no ordering guidance relative to generate_type_guards or discover_files, and no exclusion of cases where it is unnecessary.

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