Skip to main content
Glama

advise

Get senior-engineer guidance to troubleshoot bugs or errors and generate implementation plans for new features by selecting troubleshoot or implement mode.

Instructions

Get senior-engineer guidance: either troubleshoot a bug/error, or get an implementation plan for a new feature. Set mode="troubleshoot" or mode="implement".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "advise"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesJSON string containing the request payload. Structure depends on mode: TROUBLESHOOT MODE (mode="troubleshoot"): { "mode": "troubleshoot", "tech": "node" | "python" | "nestjs" | "react" | "nextjs" | "vue" | "angular" | "typescript" | "express" | "fastapi" | "django" | "other", "task": "string describing what you were trying to accomplish", "errorOutput": "optional string with full error message or stack trace", "failedAttempts": "optional array of {description: string, outcome: string}", "codeSnippets": "optional array of {filename?: string, code: string, description?: string}", "additionalContext": "optional string with env details, versions, constraints" } IMPLEMENT MODE (mode="implement"): { "mode": "implement", "tech": "same as above", "featureDescription": "clear description of what is being built", "filesTouched": "array of {path: string, relevantContent: string}", "existingPatterns": "optional string describing naming conventions, folder structure, error handling style", "constraints": "optional string with must-nots, required libraries, etc.", "additionalContext": "optional string with anything else useful" } Example troubleshoot call: JSON.stringify({ "mode": "troubleshoot", "tech": "nestjs", "task": "JWT guard blocking WebSocket connections", "errorOutput": "UnauthorizedException: Unauthorized\n at JwtAuthGuard...", "failedAttempts": [{"description": "Added @UseGuards(JwtAuthGuard) to gateway class", "outcome": "All connections rejected immediately"}], "codeSnippets": [{"filename": "chat.gateway.ts", "code": "@UseGuards(JwtAuthGuard)\n@WebSocketGateway()\nexport class ChatGateway {}"}] })

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 disclosure burden. It does reveal the meaningful behavioral split (two distinct request shapes and their intent), which is genuine value, but it never states whether the call is read-only/side-effect-free, whether source code leaves the environment, expected latency, or what kind of response comes back (diagnosis vs. plan vs. patch).

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, front-loaded with the capability and then the routing mechanism. Every phrase earns its place and nothing is padded.

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

Completeness3/5

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

The input side is well covered by the rich schema, but there is no output schema and the description never characterizes the return value, which matters for a guidance/analysis tool where the agent needs to know whether to expect prose advice, an ordered plan, or code. That gap leaves the definition adequate but incomplete for its complexity.

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 parameter already documents both mode-specific payload shapes in detail with a full example. The description only restates the mode values, adding no field-level meaning beyond what the schema provides. Baseline 3 is appropriate 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?

States a specific resource (senior-engineer guidance) and splits it into two concrete operations: troubleshooting a bug/error versus producing an implementation plan for a new feature. An agent can tell immediately what the tool produces. No siblings exist, so there is nothing to differentiate against, which is the only reason it is not a 5.

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?

Gives explicit when-to-use routing per mode: troubleshoot when you have a bug/error, implement when you need a plan for a new feature. The selector (mode="troubleshoot" vs mode="implement") is named directly. It stops short of saying when not to use the tool or what it is not suited for (e.g., trivial questions, non-code tasks).

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

Deploy Server

Other Tools