Skip to main content
Glama

search_portfolio

Search projects, technologies, patterns, and decisions across a developer portfolio to retrieve historical context, architectural choices, and technology preferences for AI-assisted development.

Instructions

Search across all projects, technologies, patterns, and knowledge in the developer portfolio.

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": {
      "query": "<query>"
    },
    "name": "search_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/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 not say whether results are ranked, capped, paginated, or what a match looks like, and does not clarify matching behavior (fuzzy vs exact) or whether it spans metadata only or content. Only the implicit read-only nature of 'search' is communicated.

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 filler or redundancy. Its brevity tips into under-specification rather than padding, but as a structural matter it is efficient and easy to parse.

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 broad search tool with no output schema and no annotations, the description should say at least what comes back and how to narrow it. Instead it leaves the return shape, result limits, and the role of the type filter entirely undisclosed, which is thin for a two-parameter entry-point search.

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%, so the description needed to explain the parameters and does not — neither 'query' (syntax, free-text vs identifier) nor 'type' (what the filter actually constrains) is mentioned. The nine-value enum is self-descriptive enough to be usable, but the description adds no meaning on top of it.

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 verb ('search') and resource ('the developer portfolio') plus the scope of content covered: projects, technologies, patterns, and knowledge. An agent can see this is the broad entry-point search. It stops short of distinguishing itself from find-oriented siblings, so it is clear but not fully differentiated.

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?

No guidance on when to use this versus the many find_* / query_graph / grep_codebase siblings, which all retrieve things. The only implied usage is the generic 'search when looking for something'. No exclusions, prerequisites, or routing hints are offered.

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