Skip to main content
Glama
JoergKoester

mcp-server-filemaker

by JoergKoester

fm_run_script_with_globals

Set global fields and execute a FileMaker script in a single Data API session, ensuring context-dependent scripts run correctly.

Instructions

Sets global fields and runs a script in the SAME Data API session. This makes scripts that depend on global fields for context work (e.g. SESSIONS::UUID_g). Flow: Login → Set Globals → Run Script → Logout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
globalsYesGlobal fields as key/value. Keys: 'Table::FieldName_g'
layoutYesLayout name for Data API script execution (must be based on the correct table)
scriptNameYesExact script name
scriptParamNoScript parameter (JSON string recommended)
Behavior3/5

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

No annotations provided, so description bears burden. It describes the session flow and global setting, but lacks details on side effects, error handling, permissions, or destructiveness. Adequate but not comprehensive.

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

Conciseness5/5

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

The description is concise: two sentences plus a flow arrow. No wasted words, front-loaded with the main action.

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

Completeness3/5

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

Given no output schema and no annotations, the description covers the core idea but omits details like error behavior, required permissions, or what happens if login fails. Adequate for a simple tool.

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

Parameters4/5

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

Schema covers all 4 parameters. The description adds value by explaining the globals key format ('Table::FieldName_g') and the purpose of setting globals in the same session, going beyond 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 description clearly states the tool's action: sets global fields and runs a script in the same Data API session, distinguishing from sibling 'fm_run_script' which likely does not set globals. Example and flow provided.

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?

The description explains when to use (scripts depending on global fields) and provides a flow. However, it does not explicitly state when not to use or list alternatives; the context of sibling tools implies it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoergKoester/mcp-server-filemaker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server