Skip to main content
Glama

Run code against Sinatra's tools

run_code
Destructive

Run a JavaScript async arrow function that calls Sinatra's tools as functions, to chain, filter or loop over them in one step and return only what you need.

declare const sinatra: { /** Show the Sinatra user this connection acts as and the workspaces they belong to, with their role in each. Workspace-scoped tools take these workspace ids as workspace_id; account and email-preference tools need none. Reads only. / whoami(args?: {}): Promise; /* Create a Sinatra workspace and make you its owner. Use it when whoami lists no workspaces. It starts with no integrations: next, call connect_integration with integration "github" and give the person the URL it returns: the dashboard page where they install the Sinatra GitHub App and pick repositories. Each person can create one workspace this way; if they already have one without GitHub, use that one. Does not take workspace_id. / create_workspace(args: { name: string; // The workspace's name, often the person's team or company: 1–120 letters, numbers, spaces and basic punctuation, with no web address. }): Promise; /* Read a workspace's connected repositories, integration status, plan status, default model and your role. Available to every workspace member. Reads only; does not change settings or connections. / get_workspace(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Read your dashboard-visible profile, workspace memberships and linked accounts. This always reads your own account, never another user's, and requires no workspace membership. Credentials and dashboard-hidden provider data are omitted. / get_account(args?: {}): Promise; /* Read whether you receive setup reminders and task alerts. These settings are yours across all workspaces and are the same ones on Sinatra's email-preferences page. No workspace membership is required. / get_email_preferences(args?: {}): Promise; /* Change your own account-wide email preferences. Provide at least one boolean: setup_reminders or task_alerts. Omitted categories are unchanged. true subscribes and false opts out. No workspace membership is required; another user's settings cannot be changed. / set_email_preferences(args: { setup_reminders?: boolean; // Whether to receive setup reminder emails. task_alerts?: boolean; // Whether to receive task alert emails. }): Promise; /* Tell the Sinatra team about a bug, a confusing result, a missing tool or an idea. The team reads every message. Pass task_id or workspace_id when the feedback is about one. Do not include secrets, tokens or credentials. Does not start or change any task. / send_feedback(args: { message: string; // What happened and what you expected, or what you need: 1–4000 characters. workspace_id?: string; // Optional: the workspace the feedback is about (from whoami). task_id?: string; // Optional: the task the feedback is about (from list_tasks). }): Promise; /* List your own provider subscription connections in a workspace, without credentials. Never send authorization secrets through MCP. / list_subscriptions(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Fetch usage from the provider for one of your subscription connections. Never send authorization secrets through MCP. / subscription_usage(args: { workspace_id: string; // The workspace id (from whoami). connection_id: string; // Your connection id from list_subscriptions. }): Promise; /* Disconnect one of your provider subscriptions from this workspace. Never send authorization secrets through MCP. / remove_subscription(args: { workspace_id: string; // The workspace id (from whoami). connection_id: string; // Your connection id from list_subscriptions. }): Promise; /* Return the Settings → Models page URL to connect a subscription in your browser. Does not start authorization or accept authorization codes, tokens, cookies or secrets. Never ask the user to paste authorization secrets through MCP. / connect_subscription(args: { workspace_id: string; // The workspace id (from whoami). provider?: "codex" | "claude" | "xai" | "cursor"; }): Promise; /* List a workspace's tasks, most recently active first, with each task's status, repository and pull request. Use it to find a task or see what's running; pass nextCursor as cursor for the next page. Reads only. / list_tasks(args: { workspace_id: string; // The workspace id (from whoami). status?: string; // Only tasks in this status, e.g. implementing or pr_open. limit?: number; cursor?: string; // nextCursor from the previous page. }): Promise; /* Get one task's status, title, repository and pull request. Works for any task in the workspace, wherever it started. Reads only. / get_task(args: { workspace_id?: string; // The task's workspace id (from whoami). Optional: Sinatra finds it from task_id. task_id: string; // The task id (from list_tasks). }): Promise; /* Start a new coding task in a workspace. Sinatra's agent works on the prompt in its own sandbox and answers in the task's conversation. Depending on the prompt, it may push a branch and open a pull request in a connected GitHub repository. Each call starts a separate task unless it repeats an earlier idempotency_key. The task's url is its page in the Sinatra dashboard, where a person can follow it and reply. / start_task(args: { workspace_id: string; // The workspace id (from whoami). prompt: string; // What to do, as you'd ask a teammate. title?: string; // A short title; defaults to the prompt's first line. repo?: string; // owner/name of a connected repository. Omit to let the agent choose. model?: string; // A model id from Sinatra's catalog, such as anthropic/claude-opus-5-5 or openai-codex/gpt-6.1-sol, for every agent on this task. Omit to use your default or the workspace default. idempotency_key?: string; // Retrying with the same key returns the same task instead of starting another. }): Promise; /* Send a message on a task started with start_task, such as an answer to the agent's question or a change of plan. A message sent while an agent is working waits and starts the next agent. A task that has stopped picks up again, and the agent may push more commits to the task's pull request. / follow_up(args: { workspace_id?: string; // The task's workspace id (from whoami). Optional: Sinatra finds it from task_id. task_id: string; // The task id (from list_tasks). text: string; idempotency_key?: string; // Retrying with the same key sends the message once. }): Promise; /* Read the conversation of a task started with start_task, oldest first: your messages, the agent's answers and questions, and Sinatra's notices. Pass after to read only newer messages. Reads only. / get_messages(args: { workspace_id?: string; // The task's workspace id (from whoami). Optional: Sinatra finds it from task_id. task_id: string; // The task id (from list_tasks). after?: string; // The id of the last message already read (or next from the previous page). limit?: number; }): Promise; /* Stop the agent working on a running task, interrupting the work in progress. Works for any task in the workspace, wherever it started; any member may stop any task, a teammate's included. / stop_task(args: { workspace_id?: string; // The task's workspace id (from whoami). Optional: Sinatra finds it from task_id. task_id: string; // The task id (from list_tasks). }): Promise; /* Search the open Linear and GitHub issues you could delegate to Sinatra: yours first, then your team's unassigned ones, leaving out issues assigned to someone else or already being worked on. Pass a ticket to delegate_ticket: for Linear, its identifier as id; for GitHub, its identifier's owner/name as repo and number. linear and github say whether each tracker is connected and your Linear account linked. Reads only. / search_tickets(args: { workspace_id: string; // The workspace id (from whoami). query?: string; // Text to match: GitHub search terms, or a substring of a Linear issue's title. Omit to list without filtering. repo?: string; // owner/name of a connected repository to search first on GitHub. }): Promise; /* Hand an existing Linear issue or GitHub issue to Sinatra as you, as if you'd assigned it to Sinatra yourself. Sinatra assigns or labels the issue, and its agent may push a branch and open a pull request. The task's conversation stays on that issue (follow_up and get_messages don't apply); list_tasks shows its progress. / delegate_ticket(args: { workspace_id: string; // The workspace id (from whoami). source: "linear" | "github"; id?: string; // Linear only: the issue identifier (e.g. ENG-123) or id. repo?: string; // GitHub only: owner/name of a connected repository. number?: number; // GitHub only: the issue number. }): Promise; /* List memberships, invites and access requests with their ids and states. Workspace owners only. / list_members(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Email a workspace invitation. Workspace owners only. Grants member or admin, never owner. / invite_member(args: { workspace_id: string; // The workspace id (from whoami). email: string; role: "member" | "admin"; }): Promise; /* Resend a workspace invitation email. Workspace owners only. / resend_invite(args: { workspace_id: string; // The workspace id (from whoami). invite_id: string; }): Promise; /* Revoke an invitation so it can no longer be accepted. Workspace owners only. / revoke_invite(args: { workspace_id: string; // The workspace id (from whoami). invite_id: string; }): Promise; /* Grant member or admin access to a requester. Workspace owners only. / approve_access_request(args: { workspace_id: string; // The workspace id (from whoami). request_id: string; role: "member" | "admin"; }): Promise; /* Deny a pending request for workspace access. Workspace owners only. / deny_access_request(args: { workspace_id: string; // The workspace id (from whoami). request_id: string; }): Promise; /* Set a membership's role to member or admin. Cannot demote an owner; transfer ownership instead. Workspace owners only. / set_member_role(args: { workspace_id: string; // The workspace id (from whoami). membership_id: string; role: "member" | "admin"; }): Promise; /* Remove a membership, revoking that person's workspace access. Workspace owners only. / remove_member(args: { workspace_id: string; // The workspace id (from whoami). membership_id: string; }): Promise; /* Make the target membership owner and demote yourself to admin. Workspace owners only. / transfer_ownership(args: { workspace_id: string; // The workspace id (from whoami). membership_id: string; }): Promise; /* Remove your own workspace membership. The last owner must transfer ownership first. / leave_workspace(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Read the workspace's saved engine, model and optional effort, or null when automatic selection applies. Any workspace member. Reads only. / get_model_default(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Save a catalog engine/model pairing and optional effort as the workspace default for future tasks. Does not change running tasks. Workspace owners only; repeating the same selection has the same effect. / set_model_default(args: { workspace_id: string; // The workspace id (from whoami). engine: "claude-code" | "oh-my-pi"; model: string; // An exact model id in the engine's Sinatra catalog, e.g. opus-5-5 for claude-code or anthropic/claude-opus-5-5 for oh-my-pi. effort?: "low" | "medium" | "high" | "xhigh" | "max"; // Optional reasoning effort for the selected model. }): Promise; /* Remove the saved workspace model default, restoring automatic selection for future tasks. Does not change running tasks. Workspace owners only. / clear_model_default(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Read which shared API-key providers are configured in this workspace. Returns only provider names and configured status, never key material, suffixes or ciphertext. Any workspace member. Reads only. / list_model_keys(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Delete a shared Anthropic or OpenRouter API key from this workspace. Tasks depending on that key may lose model access. Workspace admins or owners only. Never supply the key itself. / remove_model_key(args: { workspace_id: string; // The workspace id (from whoami). provider: "anthropic" | "openrouter"; }): Promise; /* Return the dashboard URL where a workspace admin or owner can securely add a shared API key. Does not open the page or change settings. Never paste secrets into MCP. Any workspace member. Reads only. / model_key_settings(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Read the workspace's plan, capacity and subscription status. Available to every workspace member. / get_billing(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Create a Stripe checkout URL for a paid plan. Workspace owners only; return the URL to the user to finish in their browser. / billing_checkout(args: { workspace_id: string; // The workspace id (from whoami). plan: "pro" | "team" | "scale"; }): Promise; /* Create a Stripe billing portal URL. Workspace owners only; return the URL to the user to manage their subscription in their browser. / billing_portal(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Return a browser URL to connect GitHub, Linear, Slack or your Telegram account. GitHub, Linear and Slack require a workspace admin or owner. Does not start OAuth or accept secrets; give the URL to the user. / connect_integration(args: { workspace_id: string; // The workspace id (from whoami). integration: "github" | "linear" | "slack" | "telegram"; }): Promise; /* Read the effective .sinatrarc, provenance and your own override for a connected repository. Any workspace member. / get_repo_config(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* Check a draft .sinatrarc fragment against your effective config and available model credentials without saving it. Any workspace member. / preflight_repo_config(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. fragment: Record<string, unknown>; // A .sinatrarc override fragment; only the dashboard's overridable settings are accepted. }): Promise; /* Save your own .sinatrarc override fragment for this repository. Does not change another member's preferences or the repository file. / set_repo_override(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. fragment: Record<string, unknown>; // A .sinatrarc override fragment; only the dashboard's overridable settings are accepted. }): Promise; /* Delete your own repository override, reverting to repository and inherited settings. Any workspace member; no effect on other members. / clear_repo_override(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* List secret names, allowed hosts and proxy metadata for a connected repository. Never returns secret values or value suffixes. Any workspace member. / list_repo_secrets(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* Delete a named repository secret and its proxy binding. Workspace admins or owners only. Never supply a secret value. / remove_repo_secret(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. name: string; }): Promise; /* Return only the dashboard URL for securely setting, rotating or updating repository secrets. Does not accept or read secret values, or change settings. Any workspace member; writes in the dashboard require admin or owner. / repo_secret_settings(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* Read repository environment status and setup updates. Any workspace member; requires the repository environments feature. / get_repo_environment(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* List a connected repository's access requests, without secret values. Any workspace member; requires the repository environments feature. An open request carries remediation: a summary, a supplyCommand when a secret can satisfy the request, and a dismissCommand. Have the user run supplyCommand in their own terminal and enter the secret at the hidden prompt or on stdin (for example, piped from their secret manager). Never read the secret or pass it through the model, MCP, command arguments or flags. Tasks keep running without the secret; a saved secret is used from the next agent run. A dismissed request does not come back. / list_repo_capability_requests(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* Dismiss an access request for good: it does not reopen when an agent reports the same need again. Workspace admins or owners only; requires the repository environments feature. / dismiss_repo_capability_request(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. request_id: string; // An access request id from list_repo_capability_requests. }): Promise; /* Read whether this workspace reviews external pull requests by default. Any workspace member; requires the external PR review feature. / get_workspace_pr_review_settings(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Set whether this workspace reviews external pull requests by default. Workspace admins or owners only; requires the external PR review feature. / set_workspace_pr_review_settings(args: { workspace_id: string; // The workspace id (from whoami). review_external_prs: boolean; }): Promise; /* Read a connected repository's external PR review override and effective enabled state. Any workspace member; requires the external PR review feature. / get_repo_pr_review_settings(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. }): Promise; /* Set a connected repository's external PR review override to inherit the workspace default, on or off. Workspace admins or owners only; requires the external PR review feature. / set_repo_pr_review_settings(args: { workspace_id: string; // The workspace id (from whoami). repo_id: string; // The repository id from get_workspace. review_external_prs: "inherit" | "on" | "off"; }): Promise; /* Read the services this workspace can connect, each with its connectUrl, and its connections: name, project, read-only status, status (needs_reconnect when it must be signed in again) and who connected it. Never returns a token or any part of one. Any workspace member. Reads only. / list_connectors(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Return a dashboard link that opens a service's connect dialog, filled in with the project and name given. A workspace admin or owner opens it in a browser, signs in at the provider (or pastes a token there) and accepts the warning. Does not connect anything and never accepts a token: give the link to the user, then call list_connectors to see the connection. Without connector, returns the Connectors page. / connect_connector(args: { workspace_id: string; // The workspace id (from whoami). connector?: string; // A service id from list_connectors's catalog, such as neon. project?: string; // The service's project reference, for a service that takes one (its reference format is checked). name?: string; // A name for the connection, up to 64 characters. }): Promise; /* Remove a connection so agents can no longer use it. For a signed-in connection Sinatra also revokes its access at the provider: providerRevocation says revoked or failed. revokeAtProvider is true when the credential may still work at the provider (always for a pasted token) and the user should remove it there. leftAtProvider, when present, says what the provider still lists as an authorized application and where the user removes it; pass it on. Workspace admins or owners only. / disconnect_connector(args: { workspace_id: string; // The workspace id (from whoami). connection_id: string; // The connection id from list_connectors. }): Promise; /* List the workspace's recurring tasks and their next run times. Any workspace member. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / list_recurring_tasks(args: { workspace_id: string; // The workspace id (from whoami). }): Promise; /* Read a recurring task and its run history. Pass next as before to read older runs. Any workspace member. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / get_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). recurring_task_id: string; // The recurring task id from list_recurring_tasks (not a run's task id). before?: string; // The next cursor returned by get_recurring_task for older runs. }): Promise; /* Create a recurring task owned by you. Any workspace member; normal task start checks apply. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / create_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). name?: string; // A short name for the recurring task. prompt: string; // The prompt to start on each run. cadence: Record<string, unknown>; // Structured cadence, never cron. times has 1–4 unique local HH:MM times. Supply exactly one of weekdays (0=Sunday through 6=Saturday) or dayOfMonth (1–28). Examples: daily {"times":["09:00"],"weekdays":[0,1,2,3,4,5,6]}; weekdays {"times":["09:00"],"weekdays":[1,2,3,4,5]}; weekly {"times":["09:00"],"weekdays":[1]}; monthly {"times":["09:00"],"dayOfMonth":1}. timezone: string; // IANA timezone, such as America/Chicago. Cadence times are local to this zone. notify_by_email?: boolean; // Whether to email the owner run status and links. }): Promise; /* Edit a recurring task; omitted fields stay unchanged. Only its creator may edit it. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / update_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). recurring_task_id: string; // The recurring task id from list_recurring_tasks (not a run's task id). name?: string; // A short name for the recurring task. prompt?: string; // The prompt to start on each run. cadence?: Record<string, unknown>; // Structured cadence, never cron. times has 1–4 unique local HH:MM times. Supply exactly one of weekdays (0=Sunday through 6=Saturday) or dayOfMonth (1–28). Examples: daily {"times":["09:00"],"weekdays":[0,1,2,3,4,5,6]}; weekdays {"times":["09:00"],"weekdays":[1,2,3,4,5]}; weekly {"times":["09:00"],"weekdays":[1]}; monthly {"times":["09:00"],"dayOfMonth":1}. timezone?: string; // IANA timezone, such as America/Chicago. Cadence times are local to this zone. notify_by_email?: boolean; // Whether to email the owner run status and links. }): Promise; /* Delete a recurring task and stop future scheduled starts, without deleting tasks already started. Its creator or a workspace admin or owner may delete it. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / delete_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). recurring_task_id: string; // The recurring task id from list_recurring_tasks (not a run's task id). }): Promise; /* Pause future scheduled starts. Its creator or a workspace admin or owner may pause it. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / pause_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). recurring_task_id: string; // The recurring task id from list_recurring_tasks (not a run's task id). }): Promise; /* Resume scheduled starts. Only its creator may resume it. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. / resume_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). recurring_task_id: string; // The recurring task id from list_recurring_tasks (not a run's task id). }): Promise; /* Start one run now, as its creator, without changing its schedule or paused state. Only its creator may run it; normal task start checks apply. A recurring task keeps starting tasks on its schedule, as the user who created it, until someone pauses or deletes it. It continues after the MCP connection ends or its token is revoked. */ run_recurring_task(args: { workspace_id: string; // The workspace id (from whoami). recurring_task_id: string; // The recurring task id from list_recurring_tasks (not a run's task id). }): Promise; };

Each function resolves with the JSON its tool returns, and throws an Error with the tool's message when the tool refuses. Calls run as you, with the same checks as calling the tool directly. console.log output comes back as logs. There is no network, filesystem or timer access.

Per run: at most 50 tool calls, 200 ms of computation and 30 s in all; return at most 50,000 characters of JSON.

Example: async () => { const { workspaces } = await sinatra.whoami(); const { tickets } = await sinatra.search_tickets({ workspace_id: workspaces[0].id, query: "flaky" }); return tickets.map((t) => t.identifier); }

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

Input Schema

NameRequiredDescriptionDefault
codeYesAn async arrow function, like async () => { ... }; what it returns is the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only supply the coarse profile (readOnly=false, destructive=true, openWorld=true, idempotent=false). The description adds substantial context beyond that: calls run as the invoking user with the same permission checks as direct calls, errors surface as thrown Error messages, console.log becomes logs, there is no network/filesystem/timer access, and both call-count and wall-clock/output-size ceilings are enumerated.

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

Conciseness3/5

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

Purpose and constraints are front-loaded in the first and last paragraphs, which is good structure, but the embedded type block is very large and largely reproduces signatures already exposed by the sibling tools, including heavily repeated boilerplate on every recurring-task method. The information is useful, yet the volume is disproportionate for a single-parameter tool.

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?

With no output schema, the description still explains what comes back (each call resolves with the tool's JSON), what failure looks like (thrown Error), how logs are surfaced, and the 50,000-character return ceiling. An agent has everything needed to write and bound a correct code block.

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 coverage is 100% and the schema already says the parameter is an async arrow function whose return value is the result, so the baseline is 3. The worked example (`whoami` → `search_tickets` → map) and the statement that each `sinatra.*` call resolves to the tool's JSON add concrete meaning about how to shape the code's return value.

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?

Opens with a specific verb and resource: 'Run a JavaScript async arrow function that calls Sinatra's tools as functions', and immediately names the value it delivers ('chain, filter or loop over them in one step and return only what you need'). This is unmistakably distinct from every sibling, which is a single-purpose Sinatra operation.

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 'to chain, filter or loop ... in one step' framing gives a clear condition for choosing this over calling siblings directly, and the per-run quotas (50 tool calls, 200 ms computation, 30 s total) implicitly discourage trivial single-call use. What is missing is an explicit when-not rule, e.g. 'prefer a direct tool call for a single operation'.

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