Skip to main content
Glama

get_feature_implementation

Retrieve detailed implementation guidance for a feature, including code examples, patterns, dependencies, and best practices to support development.

Instructions

Get detailed feature implementation with code examples, patterns, and best practices

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": {
      "featureId": "<featureId>"
    },
    "name": "get_feature_implementation"
  }
}

Input Schema

NameRequiredDescriptionDefault
featureIdYesUnique ID of the feature to retrieve
formatCodeNoWhether to format code examples for display (default: true)
maxCodeLengthNoMaximum length of code examples to display (100-10000, default: 2000)
includePatternsNoWhether to include implementation patterns (default: true)
includeCodeExamplesNoWhether to include code examples (default: true)
includeDependenciesNoWhether to include dependencies list (default: true)
includeProjectContextNoWhether to include project context information (default: true)
includeSuccessMetricsNoWhether to include success metrics (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it says nothing about read-only semantics beyond the word "Get", error behavior when a featureId is unknown, whether missing sections degrade gracefully, or how large the response can get. The mention of returned content areas is useful, but permissions, failure modes, and response shape remain undisclosed.

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?

A single front-loaded sentence with no redundant wording or boilerplate. It is efficient but arguably thin for an eight-parameter tool, so it falls short of a 5.

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?

With no annotations and no output schema, the description is the only behavioral signal, and it partially compensates by naming the returned content categories. However, it does not explain response structure, truncation behavior tied to maxCodeLength, or failure cases, leaving real gaps for a moderately complex tool.

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%, so every one of the eight parameters is documented inline with defaults and bounds (formatCode, maxCodeLength, includePatterns, etc.). The description adds no syntax, format, or interaction detail beyond that, so the baseline of 3 applies.

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+resource ("Get detailed feature implementation") and enumerates the payload (code examples, patterns, best practices), so an agent knows what it returns. It does not distinguish itself from the sibling search_features, which likely also surfaces feature content, leaving the retrieval-by-ID vs discovery distinction implicit.

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?

There is no explicit when-to-use guidance, no mention of prerequisites (e.g., needing a featureId obtained elsewhere), and no pointer to alternatives such as search_features for finding a feature first. Usage is only inferable from the "Get ... feature" phrasing and the required featureId parameter.

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