Skip to main content
Docusnap365 provides seven tools to your AI tool. Each tool works across all areas. The argument resource sets which kind of record it works with, such as risks or assets. Four tools read, three change data. How to connect the AI tool is described under MCP—Basics.

Tools

Docusnap365 tells your AI tool for every tool whether it only reads. update_records and delete_records are marked as tools that overwrite or remove existing data. create_record only adds new data.

Records

The tools work with these kinds of records. All of them can be read. Which of them your environment offers is shown by list_resources. assets, asset_protection, and asset_lifecycle describe the same asset and share its id: once in the inventory, once with its ISMS data, once with its ITAM data.
cves are technical findings from scans; isms_vulnerabilities are entries of risk management. If you ask about “vulnerabilities” without context, your AI tool asks which ones you mean.

Reading

search_records returns lists, counts, and statistics. A filter consists of conditions on fields, combined with “and” or “or”, at most two levels deep. text searches the name without regard to case. limit takes values from 1 to 1000, default 50. A cursor continues the search on the next page and applies only to the same search. related limits the search to records that have a relation to a given record, optionally by relation type and direction. get_record reads a record by its id or its readable key. Risks, threats, controls, vulnerabilities, and documents carry a key (such as IT-R-001), and CVE findings carry the CVE number. With expand, the same call returns the description, relations, comments, and attachments, and for an asset also its ISMS and ITAM data. The fields of an asset depend on its type. describe_resource with assetType—a name such as “Windows Server” is enough—shows the fields of that type. search_records filters and sorts by them when the search names the same type. Which fields a type carries is described in the data model.
For very large data sets, counts are lower bounds: for some kinds, includeTotal counts at most 2,000 hits, and grouping over more than 20,000 matching records counts only the first 20,000. In both cases the response says so. Narrow the search down.

Changing

Confirmation

Docusnap365 instructs your AI tool to read the affected records before creating, changing, or deleting, to tell you what will change, and to wait for your consent. Docusnap365 does not ask by itself. Whether your AI tool asks before a call is set by its tool approval settings.

Version

Every record read carries a version. If your AI tool passes it as ifVersion when changing or deleting, Docusnap365 writes only if the record has not changed since. If someone else has changed it, Docusnap365 writes nothing. Your AI tool then reads the record again and shows you the new state before it retries the call. ifVersion applies only to a single record, not together with ids. Protection need and ITAM data of an asset, cost entries, comments, relations, and types carry no version. Without ifVersion, Docusnap365 writes without this check.

Several records at once

With ids, update_records and delete_records take up to 100 records. All of them receive the same change or are deleted, one after the other. If one of them fails—for example, because it is not found—Docusnap365 continues with the rest. The response names the records that were changed or deleted and the ones that failed. Such a call counts once against the quota.

Assets

Creating an asset requires a type and a name. Docusnap365 rejects a name that an asset of the same type already carries, both on create and on rename. On an asset found by a scan, only organization, location, platform, and domain can be changed through MCP—not the name and not the fields of the type. An asset deleted through MCP goes to the Trash.

Permissions

The tools that change data require that you are allowed to write. With Viewer, only the reading tools are available (see Users › Module Access). Which records you may change is decided by your permissions in Docusnap365. How to connect the AI tool, which permissions it has, and how the quota counts is described under MCP—Basics.