Skip to main content
Glama

get_project_patterns

Extract implementation patterns, architectural guidance, and best practices for project types, frameworks, or languages to inform design decisions and avoid common issues.

Instructions

Extract common implementation patterns and best practices for project types

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_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of patterns to return (1-50, default: 20)
sortByNoHow to sort the patterns (default: popularity)popularity
languageNoProgramming language to filter patterns by (optional)
frameworkNoPrimary framework to filter patterns by (optional)
techStackNoTechnologies to filter patterns by (optional)
projectTypeNoType of project to get patterns for (optional)
includeDesignNoWhether to include design patterns (default: true)
minSuccessRateNoMinimum success rate for patterns (0-1, default: 0.5)
includeCommonIssuesNoWhether to include common issues and solutions (default: true)
includeArchitecturalNoWhether to include architectural patterns (default: true)
includeBestPracticesNoWhether to include best practices (default: true)
includeImplementationNoWhether to include implementation patterns (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 behavioral burden, and it says nothing about whether this is a read-only operation, where the patterns come from, whether results are cached or aggregated, or how success rate is computed. The only behavioral hints are embedded in the schema (defaults, the 0.5 success-rate floor), not in the prose.

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 eleven-word sentence with no filler or redundancy, front-loaded with the core action. It is efficient, though the extreme brevity is arguably under-specification rather than ideal conciseness for a twelve-parameter tool.

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 a twelve-parameter, zero-annotation, no-output-schema tool, the description is far too thin: it omits return shape expectations (list of patterns? ranked?), filter interaction rules, and any indication of data provenance or cost. The rich schema partly compensates on inputs, but the prose leaves large gaps for a tool of this 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%, covering all twelve parameters with defaults, ranges and enum values, so the baseline of 3 applies. The description adds nothing beyond the schema — notably it never explains how language, framework, techStack and projectType interact or whether they combine as AND filters.

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?

"Extract common implementation patterns and best practices for project types" gives a specific verb (extract) and resource (implementation patterns/best practices), and the filterable fields make the scope concrete. It does not explicitly distinguish itself from siblings like get_project_context or search_similar_projects, so sibling differentiation is left implicit.

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?

The description implies a research/discovery use case (gathering patterns before implementing), but it never states when to call this versus get_project_context or search_similar_projects. With twelve optional filters, no guidance is given on which to prioritize or whether an unfiltered call is meaningful.

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