Build with AI

Available tools

The Docs MCP Server exposes three tools for searching Ping Identity documentation. You don’t need to know the individual tool names. Just describe what you want in natural language and your AI agent selects the right tool automatically.

Understanding the query options, especially version pinning, helps your agent return precise, current results.

Tools

The primary tool. Searches the indexed Ping Identity product documentation and returns document chunks with their canonical URLs, or a written summary with citations.

Parameter Required Description

query

Yes

Your question in plain text, up to about 1500 characters. Longer queries are truncated.

response_type

No

The response format. raw (the default) returns document chunks for direct inspection. summary returns a written summary with citation URLs.

docs

No

Restricts the search to specific product doc sets. Intended for users who already know the doc set name.

tags

No

Filters results by product, version, or title. All filter values must exist in the documentation catalog. For example, {"product": ["PingFederate"], "version": "13.0"}.

exclude_tags

No

Excludes results matching a tag value, for example to filter out an older version.

search_mode

No

How the search matches your query. hybrid (the default) balances keywords and meaning. keyword finds exact terms and identifiers. semantic matches by meaning alone.

top_k

No

The number of document chunks returned. The default is 5 and the maximum is 30.

Filter values that don’t exist in the documentation catalog are ignored, and the search runs without that filter. Call catalog_loader first to confirm the exact product and version values.

A summary response is generated by the server from the indexed documentation, not quoted from it. Some agents choose response_type=summary on their own based on the conversation context. If you need the underlying document text for detailed analysis or verification, explicitly ask for response_type=raw.

Returns page references only: titles, products, available versions, and canonical documentation URLs. Use it when you need the official page URL, when docsets_search returns nothing relevant, or when the question spans material outside the indexed corpus.

Results can come from both documentation sites the server indexes: documentation pages on docs.pingidentity.com and agent-oriented content on developer.pingidentity.com. Versioned products include a version segment in the URL path; single-stream products, such as PingOne, don’t:

https://docs.pingidentity.com/web-agents/2026/maintenance-guide/troubleshooting.html
https://docs.pingidentity.com/pingone/getting_started_with_pingone/p1_set_up_single_sign_on.html
https://developer.pingidentity.com/build-with-ai/docs-for-agents.html
Parameter Required Description

query

Yes

A natural-language query, up to about 1500 characters.

catalog_loader

Returns the products and versions the server indexes, in the form {"products": [{"product": "<name>", "versions": ["<version>", "…​"]}]}. Use it to discover valid values for the tags filter, or to verify whether a product or version is indexed.

It takes no parameters. Call it at most once per session, and cache the result for subsequent requests.

Tips for your agent

Add these instructions to your agent’s system prompt or rules file if it struggles to get good results:

  • Call catalog_loader before searching, then scope every query with the tags filter using the exact product and version values from the catalog.

  • Leave response_type at its default, raw, and ask for summary only when you want a synthesized answer instead of document text.

  • If the citations come from the wrong product or version, the filter value was ignored because it doesn’t exist in the catalog. Have your agent recheck catalog_loader and retry with exact values.

Choosing a search mode

Question type Use

"How do I configure X?"

hybrid (the default)

"What is X?" / "How does X work?"

semantic

Error codes, API parameters, exact terms

keyword

Example queries

Product-scoped:

{
  "query": "configure OAuth client",
  "tags": { "product": ["PingFederate"] },
  "search_mode": "hybrid",
  "top_k": 5
}

Version-pinned:

{
  "query": "authentication policy setup",
  "tags": { "product": ["PingFederate"], "version": "13.0" },
  "search_mode": "hybrid",
  "top_k": 5
}

Excluding an old version:

{
  "query": "token endpoint configuration",
  "tags": { "product": ["PingFederate"] },
  "exclude_tags": { "version": "12.3" },
  "search_mode": "hybrid",
  "top_k": 5
}

Example raw response

A raw response is a JSON array of document chunks. Each chunk contains the documentation text, a relevance score, and metadata that identifies the source page.

The following example shows one chunk from the response to the product-scoped example query in the preceding section:

{
  "text": "Configuring client settings\n\nUse the System > OAuth Settings > Client Settings window to configure dynamic client registration settings.\n\nThe following topics describe the available configurations for each tab:\n\nConfiguring dynamic client registration settings\n\nConfiguring scope constraints\n\nManaging client configuration defaults\n\nSelecting client registration policies\n\nReviewing client settings.\n\nhttps://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/pf_configuring_client_settings.html\n\n/pingfederate/13.1/administrators_reference_guide/pf_configuring_client_settings.html",
  "score": 0.016666666666666666,
  "metadata": {
    "title": "Configuring client settings",
    "canonicalUrl": "https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/pf_configuring_client_settings.html",
    "product": "PingFederate",
    "version": "13.1"
  }
}
Field reference
Field Description

text

The documentation excerpt. The source page URL is appended to the end of the text, and the excerpt can also contain URL-like strings from the page body, such as repository links in code examples.

score

A relevance value between 0 and 1. Treat the order of the chunks as the ranking rather than the score values.

metadata.title

The title of the source page.

metadata.canonicalUrl

The canonical URL of the source page. Optional. Some docsets, such as API references and the Build with AI content, can omit this field. When it is absent, use the URL appended to the end of text.

metadata.product

The product the chunk belongs to, using an exact product value from the catalog.

metadata.version

The product version of the chunk, such as 13.1, or latest for single-stream products. Some content has an empty version.

Version pinning

Pin a version for multi-version (self-managed) products, such as PingFederate or PingDirectory. Without a version filter, the server favors the latest indexed version, so results typically come from that version alone. Pin a specific version when you need documentation for an older version, or when you want to eliminate any ambiguity about which version an answer applies to.

SaaS products, such as PingOne and PingOne Advanced Identity Cloud, are always on a single stream, so no version filter is needed.

Call catalog_loader once per session to learn the available versions, then keep them for subsequent requests.

What’s covered

The server indexes the product documentation published at docs.pingidentity.com — configuration guides, reference material, and release notes for products including PingFederate, PingAM, PingOne, PingIDM, PingDS, PingDirectory, and PingGateway — and agent-oriented content hosted at developer.pingidentity.com, such as the Build with AI guides, SDK documentation, and API references.

Call catalog_loader to see the current list of indexed products and versions.

The indexed catalog changes as docsets are added or removed, so re-run catalog_loader in later sessions to pick up additions. For agent-oriented access to documentation in raw Markdown, llms.txt, or other AI-friendly formats, see the agent-friendly documentation formats.