Skip to main content
Glama

run_typecheck

Detect and execute a project's typecheck command, returning stdout, stderr, and exit code so you can verify type errors from agent workflows.

Instructions

Detect and run the project's typecheck command, returning stdout/stderr/exit_code.

Input Schema

NameRequiredDescriptionDefault
repo_pathYes
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.3

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full load. It discloses the return shape (stdout/stderr/exit_code), which is useful, but says nothing about side effects of executing a project command, permission/tooling requirements, what happens when no typecheck command is detected, or timeout behavior.

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

Conciseness5/5

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

A single front-loaded sentence with no filler; the action and return value come first.

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?

For an execution tool with no annotations, no output schema, and fully undocumented parameters, the description is too thin. It should at least cover repo_path semantics, timeout behavior, and what happens when detection fails.

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?

Schema description coverage is 0% for both parameters. The description adds nothing about repo_path (presumably the project root to inspect) or timeout_ms (units, default, behavior on expiry), leaving an agent to guess.

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 chain ('detect and run') plus the exact resource ('the project's typecheck command') and the return payload. The word 'typecheck' immediately distinguishes it from sibling commands like run_tests, run_lint, and run_build.

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 tool name and verb; the description never says when to reach for this versus run_tests, run_lint, or a generic run_command. No prerequisites or exclusions are given.

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