Skip to main content
Glama

find_wiki_by_name

Search for Azure DevOps wikis using partial name matching when you don't know the exact wiki name. Specify the project to locate relevant wikis quickly.

Instructions

Find wikis by partial name match when you don't know the exact wiki name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesThe name or ID of the project.
partial_nameYesPartial wiki name to search for.

Implementation Reference

  • The main handler function implementing the find_wiki_by_name tool. It retrieves all wikis in a project and filters those matching the partial name.
    def find_wiki_by_name(self, project, partial_name):
        """
        Find wikis by partial name match.
        """
        wikis = self.get_wikis(project)
        matching_wikis = []
        
        for wiki in wikis:
            if partial_name.lower() in wiki.name.lower():
                matching_wikis.append({
                    "id": wiki.id,
                    "name": wiki.name,
                    "url": wiki.url,
                    "remote_url": wiki.remote_url,
                })
        
        return matching_wikis
  • The input schema definition and tool metadata for find_wiki_by_name, including parameters project and partial_name.
    types.Tool(
        name="find_wiki_by_name",
        description="Find wikis by partial name match when you don't know the exact wiki name.",
        inputSchema={
            "type": "object",
            "properties": {
                "project": {
                    "type": "string", 
                    "description": "The name or ID of the project."
                },
                "partial_name": {
                    "type": "string", 
                    "description": "Partial wiki name to search for."
                },
            },
            "required": ["project", "partial_name"],
            "additionalProperties": False
        }
    ),
  • The dispatch/registration point in the server's _execute_tool method that calls the client handler.
    elif name == "find_wiki_by_name":
        return self.client.find_wiki_by_name(**arguments)
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 burden of behavioral disclosure. It states the tool performs a search operation ('Find wikis'), implying it's read-only, but doesn't clarify permissions, rate limits, pagination, or return format. For a search tool with zero annotation coverage, this leaves significant behavioral gaps, though it correctly avoids contradictions.

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?

The description is a single, efficient sentence that front-loads the core purpose ('Find wikis by partial name match') and adds essential context ('when you don't know the exact wiki name'). Every word earns its place with zero redundancy, making it highly concise and well-structured.

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?

Given the tool's moderate complexity (search operation with 2 parameters), no annotations, and no output schema, the description is minimally adequate. It covers the basic purpose and usage context but lacks details on behavioral traits, return values, or error handling. This leaves gaps that could hinder an agent's effective use, though it meets a baseline for a simple search 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 the schema fully documents both parameters ('project' and 'partial_name'). The description adds minimal value beyond the schema by implying the 'partial_name' parameter is for fuzzy matching, but doesn't explain syntax, case sensitivity, or matching rules. With high schema coverage, the baseline score of 3 is appropriate.

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 clearly states the tool's purpose: 'Find wikis by partial name match' specifies the verb (find) and resource (wikis). It distinguishes itself from exact-match siblings like 'get_wiki_page' or 'get_wiki_page_by_title' by emphasizing partial matching. However, it doesn't explicitly differentiate from broader search tools like 'search_wiki_pages' or 'list_all_wikis_in_organization', which prevents a perfect score.

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?

The description provides clear usage context: 'when you don't know the exact wiki name' indicates when to use this tool versus exact-match alternatives. It implicitly suggests using other tools for exact matches. However, it doesn't explicitly name alternatives or specify when not to use it (e.g., for broader searches or other wiki operations), which limits the score.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xrmghost/mcp-azure-devops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server