Skip to main content
Glama

Flexpa health tools

Execute a Flexpa capability

execute_tool
Destructive

Invoke a local tool (kind=tool) found with search_tools using its input schema. Entries with kind=mcp_server or mcp_tool return guidance for the direct provider connection. Call indexed tools by their original toolName on that server after checking its current tools/list. A care_service entry has no MCP server and returns its website for the patient to use directly. Entries with kind=local_resource return repository and usage guidance; they cannot run through this server. Check tool annotations before execution; some tools can change or share data.

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": {
      "name": "<name>"
    },
    "name": "execute_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
argumentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the description's 'some tools can change or share data' adds only modest reinforcement. It does earn credit for behavior the annotations cannot convey: that non-tool kinds return guidance or a website rather than executing, that indexed tools must be validated against the server's live tools/list, and that local_resource entries are unusable here. It stops short of describing what a successful invocation returns or how failures surface, which keeps it at 4.

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?

The core action is front-loaded in the first sentence, and the remaining sentences each carry distinct routing information about a different entry kind, so nothing is filler. The kind-by-kind enumeration reads as a run-on list rather than a structured breakdown, which slightly slows parsing but does not waste words.

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

Completeness4/5

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

This is a meta-dispatch tool with no output schema, and the description does describe the return semantics for non-executing kinds (connection guidance, website, repository and usage guidance). What is missing is the return shape for an actual successful invocation — result payload, error propagation from the target tool, or whether output is passed through verbatim. Given the destructive annotation, a note on how failures or partial effects surface would close the gap.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it partially does: `name` is characterized as the original toolName on the target server, discovered through search_tools. The `arguments` parameter is only implied by the phrase 'using its input schema' — the description never states that arguments must conform to the target tool's schema or that a string form is accepted, which the schema's anyOf allows. Useful but incomplete compensation for a zero-coverage schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a precise verb and resource — invoke a local tool (kind=tool) discovered via search_tools using its input schema — and immediately distinguishes this dispatcher from the sibling search_tools, which only finds tools. The follow-up sentences clarify what happens for each other entry kind (mcp_server, mcp_tool, care_service, local_resource), so an agent knows exactly which requests this tool can and cannot fulfill.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage routing is explicit: discover with search_tools, call indexed tools by their original toolName on that server, and re-check the server's current tools/list first. The description also states the exclusions — local_resource entries cannot run through this server, mcp_server/mcp_tool entries return connection guidance instead of executing, and care_service returns a website for the patient — which is exactly the when-not information an agent needs before invoking.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources