Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Finance

How to Use Fiscal.ai template metric definitions in Gemini CLI

Returns metric definitions and component breakdowns within a reporting template and statement. Use it to check what an accounting line includes before building a comparison or model.

Prompts to try with Fiscal.ai template metric definitions in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Fiscal.ai template metric definitions to inspect total revenue in the standard income statement template. Compare its definition and returned components with our worksheet documentation.

Fiscal.ai template metric definitionsGemini CLI
Try asking
  • Use Fiscal.ai template metric definitions to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Fiscal.ai template metric definitions and tell me what changed since last week.

  • Check Fiscal.ai template metric definitions and summarize what you find in three bullet points.

  • Pull the newest data from Fiscal.ai template metric definitions and give me the result as a table.

How to set up Fiscal.ai template metric definitions in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Fiscal.ai template metric definitions

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "fiscal-ai/metrics/standardized-by-template",
        "input": {
          "templateType": "<templateType>",
          "statementType": "income-statement"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Fiscal.ai template metric definitions on Spiral, shows the price and runs it.

Fiscal.ai template metric definitions providers and prices

Spiral runs Fiscal.ai template metric definitions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Fiscal.ai · Standardized metrics by template
fiscal-ai/metrics/standardized-by-template

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Statement typeincome-statement, balance-sheet, or cash-flow-statement

Which statement to list metrics for.

Every API field of Fiscal.ai · Standardized metrics by template is on its tool page: open its card above.

What can you do with Fiscal.ai template metric definitions in Gemini CLI?

Check a financial application's metric mappings against Fiscal.ai's accounting definitions. A coding agent can inspect project labels and calculations, then propose corrections using returned identifiers, formulas, and template details.

Prepare a peer comparison

Choose accounting lines and ratio definitions for an internal Microsoft and Alphabet comparison before collecting company figures.

Review a financial model's assumptions

Check whether a model's labels and calculations agree with Fiscal.ai's metric definitions. Flag differences for the analyst to resolve.

Explain dashboard measures

Draft internal help text that explains the accounting lines and ratios behind a research dashboard.

Review metric changes

Compare the definitions needed by an active research application and flag changed identifiers, names, or calculation details for review.

Design a sector-specific worksheet

Inspect accounting concepts and template definitions before laying out an internal bank, insurer, REIT, or utility worksheet.

Questions about Fiscal.ai template metric definitions in Gemini CLI

Can Gemini CLI use Fiscal.ai template metric definitions?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Fiscal.ai template metric definitions like any built-in tool.

How much does Fiscal.ai template metric definitions cost in Gemini CLI?

$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use Fiscal.ai template metric definitions in Gemini CLI?

No. Spiral runs Fiscal.ai template metric definitions on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Fiscal.ai template metric definitions in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Fiscal.ai template metric definitions runs?

Fiscal.ai template metric definitions runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Do these lookups return company financial results?

They return accounting metadata: metric identifiers, definitions, formulas, and template information. Company-period financial values require separate financial statement or ratio data.

Does Fiscal.ai use the same accounting structure for every business?

Fiscal.ai gives banks, insurers, REITs, and utilities their own statement structures. Check the reporting template before choosing measures for a comparison.

Can standardized metric definitions change?

Yes. Fiscal.ai explicitly recognizes additions, removals, and renamings of standardized metrics in its template metric mapping updates.

How do Fiscal.ai's financial ratios relate to statement metrics?

Fiscal.ai states its ratio formulas in terms of standardized metrics. Historical daily values are available only for ratios marked as supporting daily data.

Can Fiscal.ai data be used to train an AI model?

Fiscal.ai requires express written authorization to use its data for model training, fine-tuning, or improvement. Its data license also remains limited to the permitted use case.

Get started

Start using Fiscal.ai template metric definitions in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options