Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official

use_connected_tool

Read-only

Run an approved read tool from your own MCP server by its capability ID and arguments. Requests approval in the Unilytics app first when the tool is set to ask.

Instructions

Runs one read tool of the user's own MCP server (one the user approved as a read), by the capability_id from list_connected_tools, with arguments that fit its input schema. When the user set the tool to ask first, the result is APPROVAL_REQUIRED with a link: the user approves that exact call in the Unilytics app, and the identical call (same project, tool and arguments) then runs once. The result's content is what the user's server returned, labelled as such. Experimental. 2 credits when the call reaches the server; refusals, approvals and repeats are free.

Args:
    project_id: The client project (from list_projects).
    capability_id: The tool's capability_id from list_connected_tools.
    arguments: The tool's arguments, as its input schema describes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "capability_id": "<capability_id>",
      "arguments": "<arguments>"
    },
    "name": "use_connected_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsYes
project_idYes
capability_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Despite annotations already covering safety (readOnlyHint, destructiveHint=false), the description adds substantial non-obvious behavior: the APPROVAL_REQUIRED outcome with an in-app link, that the identical call then executes exactly once, that returned content comes from the user's server and is labelled as such, and that the tool is experimental. It also discloses billing precisely — 2 credits only when the call reaches the server, with refusals, approvals and repeats free — which no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is front-loaded with the core action, then the approval path, then billing, then a compact Args block — a sensible ordering with no filler sentences. It is on the long side, and the approval/repeat semantics are stated in one dense run rather than broken out, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by describing what the result contains and how it is labelled. For a proxy tool with a free-form nested arguments object, it covers the approval gate, single-execution guarantee, cost model, and stability caveat, leaving no material gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the parameters are bare titles, so the description must carry the load, and it does: project_id is sourced from list_projects, capability_id from list_connected_tools, and arguments is defined as fitting the target tool's own input schema. That gives an agent a concrete resolution path for every parameter, including the free-form nested object.

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 states a specific verb and resource: it 'Runs one read tool of the user's own MCP server,' scoped to read-only, approved capabilities, invoked by capability_id. The read-only scoping implicitly separates it from the write sibling (use_connected_tool_write), but the contrast is never made explicit, so an agent must infer the routing rule rather than read it.

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?

It names prerequisites (the server must be one the user approved as a read) and points to the two other calls that supply required parameters (list_connected_tools for capability_id, list_projects for project_id). What's missing is an explicit statement of when to prefer the write sibling instead, so an agent facing a mutating intent gets no direct routing instruction.

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

Deploy Server

Other Tools