MCP tools and resources
search_tools, execute_tool, dashboards, permission requests, background jobs, files, skills as MCP resources and tool errors.
On this page
On this page
The Hypris MCP server exposes a few tools that are always available. The assistant finds all other operations through search_tools and runs them through execute_tool. You'll find their full list, with tool names and input schemas, in the endpoint and tool catalog.
Fixed tools
| Tool | What it's for |
|---|---|
search_tools | Searches for operations in the catalog and returns their names and input schemas |
execute_tool | Runs an operation found through search_tools |
create_permission_request | Asks the workspace administrator for a missing permission |
get_job | Checks the status of a background job by jobId |
read_file | Reads the content of a file |
create_file_upload_link | Creates a link for uploading a file |
confirm_file_upload | Confirms a file upload |
create_file_download_link | Creates a link for downloading a file |
Searching for tools
search_tools takes a description of the task and returns the best matching operations:
{
"query": "create a record in a database",
"topK": 10
}topK is the number of results from 1 to 40, 10 by default. Search works by meaning, so you don't need to know the exact tool name, a description of what you want to do is enough.
Running tools
execute_tool takes the tool name and its arguments, following the schema returned by search_tools:
{
"toolName": "get_database_property_possible_values",
"arguments": {
"params": {"databasePropertyId": "65a1f0c2b3d4e5f601234567"}
}
}Arguments have the same parts as an HTTP request: params for the path, query for URL parameters and body for the request body. You can also pass them flat, without these parts, and the server puts each key in its part itself, see Argument shape. The tool name is case-insensitive.
The result is the endpoint's response wrapped in result, that is, the same thing the REST API returns in the data field:
{
"result": {
"property": {"id": "65a1f0c2b3d4e5f601234567", "type": "status"},
"possibleValues": [{"possibleValue": "<status option id>", "count": 12}],
"inputContract": {}
}
}Some tools, for example dashboard widgets, return a warnings list alongside the result. The operation succeeded, but the server skipped, corrected or filled in something. Each warning has code, path and message, so the assistant can fix the request right away.
Argument shape
A tool's input schema, both the one in the server's tool list and the one in search_tools results, splits arguments into params, query and body. A tool that takes only a body also accepts its fields passed flat, without body. All fixed tools except get_job are like that, so these two search_tools calls work the same way:
{"query": "create a record in a database", "topK": 10}The server treats the arguments as the body when they have no body key and no params or query key that the tool's body doesn't contain itself. That's why query in search_tools, which is a body field, goes to body. The same rule applies to the arguments of execute_tool for a catalog operation that takes only a body.
A tool from the server's list that has path or URL parameters, for example get_job, requires the split into params, query and body, for example {"params": {"jobId": "<job id>"}}. Flat arguments for such a tool come back with an error that points out the missing parts.
In the arguments of execute_tool, flat arguments also work for operations with path or URL parameters. When arguments have none of the keys params, query and body, the server puts each key in the part whose schema contains it, so these two calls work the same way:
{"toolName": "Get_dashboard_item_options_schema", "arguments": {"dashboardItemType": "chart"}}A key that more than one part contains comes back with an Invalid tool arguments error that names it, and the operation doesn't run. Pass such a key in its part. A key that no part contains is skipped by the server, just like unknown keys inside a part. When the call comes back with an error anyway, the message lists such a key as skipped. When arguments have at least one of the keys params, query and body, the server doesn't move anything: it reads only those parts and skips the other keys. That's why you can call an operation whose body has its own params field, for example dashboard widget data, only in parts.
Dashboards
Dashboard tools aren't on the list of fixed tools, but the assistant has full access to them through search_tools and execute_tool. Queries like create dashboard, create dashboard widget, dashboard widget options schema, update chart options, get chart data or dashboard widget data access are enough. A typical flow:
Creating a dashboard in the chosen space or folder. The result contains
dashboardandresourceItem, which lets you move the dashboard later.Reading the database fields to know the IDs of the chart axis fields.
Reading the options schema of the widget type with the
Get_dashboard_item_options_schematool, for example with the arguments{"params": {"dashboardItemType": "chart"}}.Creating the widget with
type,optionsandplacementin one call.Reading the widget data. The result contains the data and
warningsthat explain, for example, an empty chart.Corrections: changing only selected options (
PATCH), the whole configuration (PUT) or the position on the grid.
In the input schemas of the widget creation tool and of PUT and PATCH options, options is a plain object whose keys depend on the widget type. This keeps search_tools results short, and only Get_dashboard_item_options_schema returns the full list of keys, with descriptions and allowed values. The server checks the options, so a wrong key comes back with its exact path.
{
"toolName": "Create_dashboard_item",
"arguments": {
"params": {"dashboardId": "<dashboard id>"},
"body": {
"type": "chart",
"name": "Tasks by status",
"databaseId": "<database id>",
"options": {
"chartType": "bar",
"columnPropertyIds": ["<status field id>"],
"rowPropertiesPayload": [{"aggregationType": "count"}]
},
"placement": {"x": 0, "y": 0, "width": 6, "height": 4}
}
}
}In the result, the assistant gets the saved widget and warnings, here about a series the server filled in:
{
"result": {
"dashboardItem": {
"id": "6703f1c2a9e4b10012d5e201",
"type": "chart",
"placement": {"x": 0, "y": 0, "width": 6, "height": 4}
},
"warnings": [
{
"code": "default-applied",
"path": "options.rowPropertiesPayload[0].rowPropertyId",
"message": "…"
}
]
}
}The grid has 12 columns, and placement is always {x, y, width, height}. The time tracking widget type is time-tracer. Wrong execute_tool arguments come back with a list of all wrong paths at once, each starting with its argument part, for example params.dashboardId or body.options.chartType. You can also pass dashboard tool arguments flat, without params and body, for example {"dashboardId": "<dashboard id>", "type": "chart"}, and the server splits them into parts itself, see Argument shape.
A few rules the assistant should know:
PUT options replaces the whole configuration. When omitted keys change value because of this, the result contains one
default-appliedwarning with the pathoptionsthat lists them. To change a few keys, usePatch_dashboard_item_options.The result of every widget write, that is creating, copying, PUT and PATCH options, moving and renaming, has the same shape as
Get_dashboard_item: the options are filled in with default values, andisNameGeneratedsays whether the widget name follows its database and field (true) or someone set it by hand (false).When someone changes the widget at the same time, PATCH options can return a result with
isError: trueand the messageThe widget was changed by someone else while this PATCH was applied…(in REST it's409with the nameconflict). The assistant then reads the widget again and retries the change.Widgets can be created in parallel. The server places them in the dashboard one at a time, so widgets without
placementget different free spots. When the server doesn't manage to place a widget in time, the result hasisError: trueand the messageToo many widgets are being added to this dashboard at the same time…(in REST it's503with the nametimeout). The widget wasn't created then, so the assistant retries the call after a moment, also when it passedplacement.A
database-viewwidget with onlydatabaseIdshows the database's default view, and adefault-appliedwarning says which view the server chose.A widget that overlaps others, including widgets created at the same moment, is saved, but the result contains a
placement-overlapswarning.Options can point only to databases, views, conversations and resources from the dashboard's workspace that the assistant can read. Any other ID comes back with
isError: trueand a message that says where to get a correct one, for exampleGET /database/<database id>/views.The widget type must be included in the workspace plan. Otherwise creating and copying the widget, reading it, its data, and PUT and PATCH options come back with the message
Feature not included in current plan(in REST it's402with the nameplan-feature-not-entitled).An empty name when renaming a widget restores the name Hypris gives it: in a chart and in a map with one layer, for example “Tasks · Status”, and in other widgets, the name of the widget type.
A chart can count with its owner's permissions instead of the requester's. The widget then has
dataAccess.mode: "owner", and the widget data result containsdataAccesswith the mode the server actually counted the data in, and the owner's name inownerName. Drill-down conditions (labelFilterFragments,stackFilterFragment) are returned only to a requester who can read the database records; the record list filtered with them shows only the records the requester can read, so it can be shorter than the number on the chart. Without read access to records, these fields arenull. When the saved mode doesn't apply, the data is counted with the assistant's permissions,dataAccess.modeisviewer, andwarningscontaindata-access-not-supported,data-access-options-changedordata-access-suspended.The mode is switched by
Update_dashboard_item_data_accesswithbodyset to{"mode": "owner"}or{"mode": "viewer"}, for example{"params": {"dashboardItemId": "<widget id>"}, "body": {"mode": "viewer"}}. Through OAuth, the assistant can read the mode and switch it off, but can't switch it on:{"mode": "owner"}comes back withisError: trueand the messageOnly a person signed in with their own account…. An OAuth token in the REST API can't call this endpoint with anymode(403with the messageThis endpoint is not available to OAuth applications). Only an administrator of the chart's database or of the workspace can switch it on, in the app or with a user key. Changing the data of such a chart through OAuth, for example its fields, series, filter or date range, switches it toviewer, and the result contains adata-access-resetwarning. Details are in the Count as: data from the owner's permissions section.
For the full description of chart options, the PUT and PATCH rules and the warnings, see the Dashboards and widgets guide.
Permission requests
When the assistant lacks access, it can ask the administrator for it:
{
"workspaceId": "<workspace id>",
"resourceType": "database",
"resourceId": "<database id>",
"permissionType": "database.item.create",
"note": "I want to add leads from the contact form."
}The tool waits up to 60 seconds for the administrator's decision, so if they're around, the assistant can continue right away. The administrator sees the request in the workspace settings, under Permission requests.
Background jobs
Some operations, for example updating a record value, finish in the background and return a jobId. get_job returns the status running, completed or failed, the progress, the result and the failure reason. Only the person who created a job can read it.
Files
Uploading and downloading files doesn't go through the model's context. The tools create separate links for that:
create_file_upload_linkreturns an address the client uploads the file to.confirm_file_uploadcompletes the upload and attaches the file where it was meant to go.create_file_download_linkreturns an address for downloading the file.read_filereads the file's content when the assistant needs to analyze it.
Skills as resources
Published workspace skills are available as MCP resources, so the assistant can read and apply them:
| Resource address | Content |
|---|---|
skill://index.json | A list of available skills |
skill://{workspace}/{skill}/SKILL.md | The content of one skill |
The server provides up to 200 skills. Hypris doesn't register MCP prompts.
Tool errors
When an operation fails, for example due to missing permissions, the tool returns a result with isError: true and an error description. The assistant sees it like any other response and can react, for example by sending a permission request. Protocol errors, such as a bad token, arrive as JSON-RPC errors.
With wrong arguments, the description lists the wrong paths and what's allowed in them:
Invalid request: body.options.rowPropertiesPayload[0].aggregationType: must be one of: "number-sum", "count", "number-average", "number-min", "number-max", "count-empty", "count-non-empty", "time-tracker-sum", "rating-sum" (received "median")The description lists up to five problems and sums up the rest as and N more. The result doesn't repeat them as JSON with validationErrors, which the REST API returns, so the assistant gets each problem once. The assistant fixes the paths it points to and retries the call. Problems the description didn't list come back in the next result. When the arguments don't match the tool's schema, the message starts with Invalid tool arguments:. When the server rejects the body after a deeper check, for example the widget options against the widget type, it starts with Invalid request:. The format is the same in both cases.
An ID in the wrong format, for example abc in params.dashboardItemId, comes back with the same message as in REST: Resource not found: "abc" is not a valid id. A value that isn't a string or a number doesn't go into the message, see Wrong key and invalid ID.