Skip to main content
Glama

searchFunctions

Read-only

Find MicroFn functions whose name contains a substring, case-insensitively. Matches the function name only, not the username. Pages like listFunctions, with 'total' counting every match.

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": {
      "q": "<q>"
    },
    "name": "searchFunctions"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSubstring to match against the function name
pageNo1-indexed page of matches to return. Default 1
limitNoMatches per page, up to 100. Default 20

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is narrower. It adds real behavioral detail beyond them: case-insensitive matching, name-only scope, listFunctions-identical pagination, and that 'total' counts every match rather than just the page. It does not describe ordering of results, which is the main remaining unknown.

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 sentences, front-loaded with the core matching semantics, with no filler. The pagination note is compressed into a single comparative clause rather than restating the schema.

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?

For a three-parameter read-only search with no output schema, the description covers matching semantics, pagination, and the meaning of the total count, which is enough to call it correctly. It is slightly incomplete on result ordering and on whether an empty match set errors or returns an empty list.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: the schema only says 'substring to match against the function name', while the description supplies case-insensitivity and rules out matching against usernames. It also clarifies how page/limit behave by equating them with listFunctions pagination.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Find) and resource (MicroFn functions) plus the exact matching rule: case-insensitive substring on the function name. It also explicitly contrasts with the sibling listFunctions, so an agent can tell the two apart without opening either schema.

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?

Implicitly routes the agent by referencing listFunctions as the unfiltered equivalent, making it clear this tool is for name lookups. It also excludes a plausible wrong use case (searching by username). It stops short of an explicit 'use listFunctions when you want all functions' statement, so it is clear context rather than full when/when-not guidance.

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