Skip to main content
Glama

hedwigai

Run a command in your shell

bash

Runs one command line in a shell that hedwigai hosts for this account. It is not the user's computer: it runs only the commands hedwigai provides, which are data programs over public records and search results (SEC filings, customs bills of lading, hiring and licence filings, Google and AI-answer results), file tools (grep, jq, csv, xlsx, pdftext) and read-only views of the drives the account connected. Nothing can be written except /tmp, which with the working directory lasts for this session and is where checkout_workbook puts a workbook.

Most commands only read. These act for the account: metered programs draw on its balance (the credits tool shows it); mail saves email drafts, never sending them, into its connected Gmail or Outlook; search-index can ask search engines to index the account's own pages; programs enable and programs disable switch a program on or off; voice, avatar, image and blueprint save what they make under a link.

Run help to list every command, and <command> --help for one command's usage.

Programs on this account:

  • mail: Write email drafts: kept by the account, and written into its connected Gmail or Outlook Drafts.

  • biotech: Targeted biotech studies as JSON: the Phase 3 and Phase 2 trials running for an indication, clinical trials, drug labels and approvals, company filings, literature.

  • account-playbook: Every workbook and agent on the account, by folder, with its mode, linked file and the prompts that read, change, run or restore it.

  • account-digest: Every new workbook version since a moment, with what was asked and what the run did, and every agent's ticks and spend: account-digest --since 7d is the weekly digest.

  • references: Each entry of a reference list, .bib file or whole draft looked up in the published record: found, found with other details, or not found, whether the work was retracted, and which in-text citations have no entry.

  • aero: Every flight movement for an airport-day, plus per-terminal and per-hour rollups, as JSON.

  • trade: The US import duty on a product from a country (HTS code, base rate, country duty, Section 301, total), and US customs bills of lading: a company's counterparties, its shipments, and the firms already importing what you make.

  • outreach: Companies matching a description, the people at them, and their addresses — derived from the company's format, found by a finder, or verified against a mail server.

  • funding: SEC Form D filings — almost every US private raise is recorded on one, within fifteen days of the first sale.

  • webcertificates: Certificates issued for names at or under a domain — a new subdomain is a service going live, usually within hours.

  • fcc: The equipment grantee register and the authorisations themselves — devices, dates and frequency bands.

  • fda: Breakthrough-therapy and novel drug approvals, each with what it was approved to treat; and device establishment registrations, months before a product ships.

  • us-trademarks: Trademark applications matched on the applicant, with the goods the company intends to sell under the mark.

  • us-business-license: Liquor licences and retail food permits by place and date — a venue with a lease signed and no suppliers yet.

  • ucc: UCC-1 financing statements naming a company as debtor, with the secured party.

  • h1b-hiring: The labour condition applications an employer filed — job titles, wages offered, worksites, and new seats against renewals.

  • company-hiring: Employers filing for sponsored positions in a place or discipline, ranked by the seats that did not exist before.

  • model-prices: The current version of every language model family, and what each provider charges for it per million tokens.

  • trends: Google Trends on web search or YouTube, autocomplete, and Wikipedia page views — free.

  • biped-walk: Lucen Robotics' twelve-joint biped walked by Lucen's own walking policy in MuJoCo, live for up to a minute, steered by the velocity you send: forward, sideways and turning.

  • search-index: Ask Google, Bing (ChatGPT search, Copilot) and the IndexNow engines to index your pages in one step, see what crawlers are missing on your site, and read your own Search Console.

  • social: Profiles, posts, comments and search on X, LinkedIn, Instagram, YouTube and Reddit.

  • realestate-us: Rental listings merged across sources, the HUD tables that decide what a subsidised rent may be, and tract-level ACS and opportunity data.

  • realestate-in: Rental listings around a place in an Indian city, merged across backends and deduplicated.

  • sec-filings: SEC filing text by ticker, 13F ownership, and the name-to-ticker lookup you need before either.

  • vision: A vision model reads images from a drive or a url and answers in words: what is in it, what it says, whether two match.

  • dbq: Read-only SQL against the account's connected database, with results as CSV on stdout.

  • traffic: Estimated monthly Google organic visits for up to 1,000 domains at once, with the month and source.

  • dashboards: The analytics dashboards this account has been given, each metric with its current numbers.

  • rank: Keyword position on Google, and who is above you.

  • keywords: How many people search a phrase on Google each month, and the phrases people search near it.

  • aeo: What ChatGPT, Gemini, AI Mode, Bing AI Mode and Google's AI Overview answer to a question, and which sites they cite.

  • dns: Mail authentication, nameservers and registration.

  • webaddress: Categories and subcategories in the shape of a classifieds front page, each holding the addresses worth knowing; ask any branch for its top ten, local to a place.

  • registry: npm and PyPI downloads with a year of weekly history, GitHub stars, forks and last push.

  • payments: x402 stablecoin payments by seller, from the chain; and startups' revenue verified through Stripe and other providers on TrustMRR.

  • jobs: About three million job posts from the schema.org markup job sites publish, read from the Common Crawl: title, full description, employer, place, salary and date, filtered by country, words, site or date, or downloaded whole in shards.

  • models: One row per AI model merged from Epoch AI, OpenRouter, Hugging Face and Artificial Analysis, each value naming its sources; logistic regression and time-series forecasting over it or any CSV.

  • agentrank: Calls and calling accounts per tool on Monid, MCP server use on Smithery, users and runs per tool on Apify, MCP image pulls on Docker, installs on Cline, stars on GitHub's MCP Registry, the official registry's size, mcp.so page views, and which tools AI assistants recommend.

  • series: The history a measuring program leaves behind, and which way it went.

  • browser: Search the web, take originals, and drive a live browser session.

  • voice: Text spoken in a cloned or stock voice, as an MP3 filed under a URL; and voices cloned from the account's own clips.

  • avatar: A photo animated and lip-synced to a voice track, as an MP4 filed under a URL.

  • image: Gemini's image model draws from a prompt and up to four pictures: a photo restyled, a drawing changed in one place, the same character in another pose.

  • music: A track written the way musicians write: chord symbols or numerals, drum grids, ABC melodies and a song form, rendered to WAV or MP3 on a drum, bass, pad, guitar and effects kit.

  • tla: A business or a system written as a TLA+ module, checked by TLC: every state its steps can reach, each rule that breaks with its shortest trace, and the rules that hold.

  • readable: A page, post or file checked for what makes it cryptic: terms a reader meets before their definition on any path into the page (decided by TLC), headings with no verb, noun stacks, subjects far from their verbs and long sentences; and a model's cold reading, section by section.

  • youtube: A public YouTube video watched by a model: its transcript with speakers and times, summary, story beats, characters, setting and on-screen text, as JSON.

  • listen: Any audio or video file on a mount, or a link: every word timed to the millisecond with its speaker and confidence, pauses, and the voice measured over time (loudness, pitch, brightness, harshness, jitter, shimmer, learned quality scores).

  • watch: Any video on a mount, or a link: a model watches and listens to it and answers a question, or judges it against your rules, as findings timed to the millisecond (subject, observation, rule, pass/fail/unsure).

  • weights: Start a repo from a pinned open Qwen (3.5-0.8B or 9B), apply your own weight-space-programming recipe (Python, run in a sandbox with no network) to add neurons fitted from forward passes, then run any version, roll back or download it.

  • pdftext: A PDF's text as markdown, with a readability check that runs without extracting.

  • doctext: Text of a doc, docx, ppt, pptx, rtf, odt, odp or epub as markdown.

  • blueprint: A drawing written as SVG, rendered as a blueprint PNG and, if asked, filed under a URL the document embeds.

  • edi: X12 as CSV: the 820 remittance and the 812 adjustment, with the reason code on every line.

  • xlsx: Read and edit an Excel workbook the way Excel does: values and formulas, rows, columns and sheets inserted and deleted with every reference following, formats, names, pivots, and every formula recalculated on save.

  • csv: Columns, counts, frequencies, sums, averages, filters and joins over CSV.

  • jq: Filter and reshape JSON, the way every program here emits it.

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

Input Schema

NameRequiredDescriptionDefault
commandYesA bash command line. Pipelines, globs and control flow work; a redirect anywhere but /tmp is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\"",
      -  "type": "string"
      -}
    • removedInput schema / properties / llm_model
      Removed value: -{
      -  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\"",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: it is not the user's machine, only hedwigai-provided commands run, writes are confined to /tmp for the session, metered programs draw on account balance, mail saves drafts without sending, search-index can request indexing, and enable/disable commands change program state. These details clarify mutation, account impact, and write boundaries in ways the annotations alone do not.

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

Conciseness2/5

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

The key constraints are front-loaded, but the description then enumerates dozens of programs with full prose even though it already tells the agent to run `help` for the complete list. That catalog is largely redundant and makes the definition excessively long, so it does not meet the conciseness bar.

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?

Complete for a complex shell tool: it explains the hosting environment, write limitations, account-acting commands, metered balance effects, and command discovery. Though there is no output schema, shell output conventions are clear enough for an agent to invoke it correctly.

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 100%, and the schema already explains that `command` is a command line supporting pipelines, globs, control flow, and redirect restrictions. The description adds only the discovery hint to run `help` or `<command> --help`, which is useful but does not add much parameter-level meaning beyond the 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?

States a specific verb and resource: runs one command line in a shell that hedwigai hosts for this account. It immediately distinguishes itself from the user's local computer and from generic bash, making the scope clear without opening the schema.

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?

Provides strong usage context by explaining that commands are hedwigai-provided data programs and file tools, that most only read, and that certain commands act for the account. It also points to `help` and `<command> --help`. It does not explicitly say when to prefer this shell over sibling tools such as ask or dedicated workbook tools, so it falls short of full when/when-not/alternative guidance.

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.