Skip to main content
Glama

get_wiki_page_by_title

Retrieve Azure DevOps wiki pages by title instead of exact path, enabling easier navigation and content discovery within project wikis.

Instructions

Find a wiki page by title instead of exact path - useful for navigation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesThe name or ID of the project.
titleYesTitle or partial title of the page to find.
wiki_identifierYesThe name or ID of the wiki.

Implementation Reference

  • Core implementation of the get_wiki_page_by_title tool. Lists wiki pages, matches title in path, retrieves full page content for matches.
    def get_wiki_page_by_title(self, project, wiki_identifier, title): """ Find wiki page by title instead of exact path. """ pages = self.list_wiki_pages(project, wiki_identifier) for page in pages: # Extract title from path (last part after /) page_title = page["path"].split("/")[-1].replace("-", " ").replace("_", " ") if title.lower() in page_title.lower() or page_title.lower() in title.lower(): try: full_page = self.get_wiki_page(project, wiki_identifier, page["path"]) return full_page except Exception: continue return None
  • Input schema definition for the get_wiki_page_by_title tool, specifying parameters project, wiki_identifier, and title.
    types.Tool( name="get_wiki_page_by_title", description="Find a wiki page by title instead of exact path - useful for navigation.", inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, "wiki_identifier": { "type": "string", "description": "The name or ID of the wiki." }, "title": { "type": "string", "description": "Title or partial title of the page to find." }, }, "required": ["project", "wiki_identifier", "title"], "additionalProperties": False } ),
  • Registration of the get_wiki_page_by_title tool in the MCP server tools list.
    types.Tool( name="get_wiki_page_by_title", description="Find a wiki page by title instead of exact path - useful for navigation.", inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, "wiki_identifier": { "type": "string", "description": "The name or ID of the wiki." }, "title": { "type": "string", "description": "Title or partial title of the page to find." }, }, "required": ["project", "wiki_identifier", "title"], "additionalProperties": False } ),
  • Server-side dispatch handler that calls the client method and formats the response for the tool.
    elif name == "get_wiki_page_by_title": page = self.client.get_wiki_page_by_title(**arguments) if page: return { "path": page.page.path, "url": page.page.url, "content": page.page.content, } else: return {"message": f"No page found with title '{arguments['title']}'"}

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