Skip to main content
Glama

Forkit

search_api

Read-onlyIdempotent

Return TypeScript type definitions for the execute_code codemode SDK. Call once per session and cache the result.

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

Input Schema

NameRequiredDescriptionDefault
filterNoOptional keyword to filter definitions (e.g. "sprint", "label")

Output Schema

NameRequiredDescriptionDefault
definitionsYesTypeScript type definitions for all codemode.* functions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered by structured data. The description's added value is the once-per-session caching directive, a real behavioral trait not expressed in annotations. It says nothing about the size, freshness, or stability of the returned definitions beyond that.

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?

Two short sentences with zero waste. The purpose is front-loaded and the caching instruction follows immediately, so the agent hits the load-bearing content first.

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?

An output schema exists, so return values need no explanation, and the tool is a simple one-optional-param read. The description covers purpose and call cadence adequately. It would be stronger if it noted the filter's role or roughly what the definitions contain, but no critical decision is left unanswered.

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?

Schema description coverage is 100% and the single optional 'filter' parameter is documented with keyword examples in the schema itself. The description does not mention filtering at all, so it adds no meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

The description gives a specific verb and resource: 'Return TypeScript type definitions for the execute_code codemode SDK.' It ties the tool to the execute_code sibling, which orients an agent. However, the tool name 'search_api' and title 'Search API' suggest searching an API rather than fetching SDK type definitions, so there is some friction between name and stated purpose.

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

Usage Guidelines4/5

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

Explicit guidance: 'Call once per session and cache the result' tells the agent both when to invoke and how to avoid redundant calls. It implies this is a prerequisite for execute_code. It stops short of naming an alternative or saying what to do if the cache is stale, but the operational context is clear.

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.

Resources